aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_error.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-04-02 13:11:25 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-02 13:11:25 -0700
commita2308b7f0838406c346a2b0259ff88c7fcf41e79 (patch)
treef0d6e3d05d301d3aadb7e8bdd42083be98e29e0d /fs/xfs/xfs_error.h
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa (diff)
parent[XFS] Provide XFS support for the splice syscall. (diff)
downloadlinux-dev-a2308b7f0838406c346a2b0259ff88c7fcf41e79.tar.xz
linux-dev-a2308b7f0838406c346a2b0259ff88c7fcf41e79.zip
Merge git://oss.sgi.com:8090/oss/git/xfs-2.6
* git://oss.sgi.com:8090/oss/git/xfs-2.6: [XFS] Provide XFS support for the splice syscall. [XFS] Reenable write barriers by default. [XFS] Make project quota enforcement return an error code consistent with [XFS] Implement the silent parameter to fill_super, previously ignored. [XFS] Cleanup comment to remove reference to obsoleted function
Diffstat (limited to 'fs/xfs/xfs_error.h')
-rw-r--r--fs/xfs/xfs_error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_error.h b/fs/xfs/xfs_error.h
index 26b8e709a569..bc43163456ef 100644
--- a/fs/xfs/xfs_error.h
+++ b/fs/xfs/xfs_error.h
@@ -186,4 +186,7 @@ extern void xfs_fs_cmn_err(int level, struct xfs_mount *mp, char *fmt, ...);
#define xfs_fs_repair_cmn_err(level, mp, fmt, args...) \
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)
+
#endif /* __XFS_ERROR_H__ */