diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-03-06 18:04:35 -0500 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2011-03-06 18:04:35 -0500 |
commit | af34e09da42801c97f39f768c715f5511d914b52 (patch) | |
tree | 998f2d3d7e0dced4f401dd00073b1de411027ae7 /fs/xfs/xfs_error.h | |
parent | 65333b4c3d46909872796321d15f179cb0e32028 (diff) |
xfs: kill xfs_fs_mount_cmn_err() macro
The xfs_fs_mount_cmn_err() hides a simple check as to whether the
mount path should output an error or not. Remove the macro and open
code the check.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_error.h')
-rw-r--r-- | fs/xfs/xfs_error.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_error.h b/fs/xfs/xfs_error.h index 4c8b5007000a..e8360514c250 100644 --- a/fs/xfs/xfs_error.h +++ b/fs/xfs/xfs_error.h | |||
@@ -162,10 +162,4 @@ struct xfs_mount; | |||
162 | 162 | ||
163 | extern void xfs_hex_dump(void *p, int length); | 163 | extern void xfs_hex_dump(void *p, int length); |
164 | 164 | ||
165 | #define xfs_fs_mount_cmn_err(f, fmt, args...) \ | ||
166 | do { \ | ||
167 | if (!(f & XFS_MFSI_QUIET)) \ | ||
168 | cmn_err(CE_WARN, "XFS: " fmt, ## args); \ | ||
169 | } while (0) | ||
170 | |||
171 | #endif /* __XFS_ERROR_H__ */ | 165 | #endif /* __XFS_ERROR_H__ */ |