summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2007-02-10 18:27:56 +1100
committerTim Shimmin <tes@sgi.com>2007-02-10 18:27:56 +1100
commitdac61f521b1e4d2c6c48023f2f2743c6096b48ca (patch)
tree06f672ee8c8987ba34a567b17e1c3c483d605f00 /fs/xfs
parenteaefd5fb7d793c9c1bcef1b0c0d5ec3824a85b91 (diff)
downloadlinux-3.10-dac61f521b1e4d2c6c48023f2f2743c6096b48ca.tar.gz
linux-3.10-dac61f521b1e4d2c6c48023f2f2743c6096b48ca.tar.bz2
linux-3.10-dac61f521b1e4d2c6c48023f2f2743c6096b48ca.zip
[XFS] Make quiet mounts quiet
The XFS quiet mount logic was inverted making quiet mounts noisy and vice versa. Fix it. SGI-PV: 958469 SGI-Modid: xfs-linux-melb:xfs-kern:27520a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_error.h b/fs/xfs/xfs_error.h
index 0893e16b7d8..86d22efdd56 100644
--- a/fs/xfs/xfs_error.h
+++ b/fs/xfs/xfs_error.h
@@ -180,6 +180,6 @@ extern void xfs_fs_cmn_err(int level, struct xfs_mount *mp, char *fmt, ...);
xfs_fs_cmn_err(level, mp, fmt " Unmount and run xfs_repair.", ## args)
#define xfs_fs_mount_cmn_err(f, fmt, args...) \
- ((f & XFS_MFSI_QUIET)? cmn_err(CE_WARN, "XFS: " fmt, ## args) : (void)0)
+ ((f & XFS_MFSI_QUIET)? (void)0 : cmn_err(CE_WARN, "XFS: " fmt, ## args))
#endif /* __XFS_ERROR_H__ */