mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
65333b4c3d
commit
af34e09da4
2 changed files with 43 additions and 35 deletions
|
@ -162,10 +162,4 @@ struct xfs_mount;
|
|||
|
||||
extern void xfs_hex_dump(void *p, int length);
|
||||
|
||||
#define xfs_fs_mount_cmn_err(f, fmt, args...) \
|
||||
do { \
|
||||
if (!(f & XFS_MFSI_QUIET)) \
|
||||
cmn_err(CE_WARN, "XFS: " fmt, ## args); \
|
||||
} while (0)
|
||||
|
||||
#endif /* __XFS_ERROR_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue