xfs: convert xfs_fs_cmn_err to new error logging API
Continue to clean up the error logging code by converting all the callers of xfs_fs_cmn_err() to the new API. Once done, remove the unused old API function. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Dave Chinner
parent
af34e09da4
commit
5348778699
@ -270,9 +270,9 @@ xfs_swap_extents(
|
||||
/* check inode formats now that data is flushed */
|
||||
error = xfs_swap_extents_check_format(ip, tip);
|
||||
if (error) {
|
||||
xfs_fs_cmn_err(CE_NOTE, mp,
|
||||
xfs_notice(mp,
|
||||
"%s: inode 0x%llx format is incompatible for exchanging.",
|
||||
__FILE__, ip->i_ino);
|
||||
__func__, ip->i_ino);
|
||||
goto out_unlock;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user