Commit 6d4a8ecb344bddbbb8c71deb4dcea0be6955cfc3

Authored by Dave Chinner
Committed by Dave Chinner
1 parent 5348778699

xfs: rename xfs_cmn_err_fsblock_zero()

The "cmn_err" part of the function name is no longer relevant. Rename
the function to xfs_alert_fsblock_zero() to match the new logging
API.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>

Showing 1 changed file with 5 additions and 5 deletions Side-by-side Diff

... ... @@ -101,7 +101,7 @@
101 101 }
102 102  
103 103 STATIC int
104   -xfs_cmn_err_fsblock_zero(
  104 +xfs_alert_fsblock_zero(
105 105 xfs_inode_t *ip,
106 106 xfs_bmbt_irec_t *imap)
107 107 {
... ... @@ -246,7 +246,7 @@
246 246 }
247 247  
248 248 if (!(imap->br_startblock || XFS_IS_REALTIME_INODE(ip))) {
249   - error = xfs_cmn_err_fsblock_zero(ip, imap);
  249 + error = xfs_alert_fsblock_zero(ip, imap);
250 250 goto error_out;
251 251 }
252 252  
... ... @@ -464,7 +464,7 @@
464 464 }
465 465  
466 466 if (!(imap[0].br_startblock || XFS_IS_REALTIME_INODE(ip)))
467   - return xfs_cmn_err_fsblock_zero(ip, &imap[0]);
  467 + return xfs_alert_fsblock_zero(ip, &imap[0]);
468 468  
469 469 *ret_imap = imap[0];
470 470 return 0;
... ... @@ -614,7 +614,7 @@
614 614 * covers at least part of the callers request
615 615 */
616 616 if (!(imap->br_startblock || XFS_IS_REALTIME_INODE(ip)))
617   - return xfs_cmn_err_fsblock_zero(ip, imap);
  617 + return xfs_alert_fsblock_zero(ip, imap);
618 618  
619 619 if ((offset_fsb >= imap->br_startoff) &&
620 620 (offset_fsb < (imap->br_startoff +
... ... @@ -724,7 +724,7 @@
724 724 return XFS_ERROR(error);
725 725  
726 726 if (!(imap.br_startblock || XFS_IS_REALTIME_INODE(ip)))
727   - return xfs_cmn_err_fsblock_zero(ip, &imap);
  727 + return xfs_alert_fsblock_zero(ip, &imap);
728 728  
729 729 if ((numblks_fsb = imap.br_blockcount) == 0) {
730 730 /*