summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_quota.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-03-07 10:01:35 +1100
committerDave Chinner <david@fromorbit.com>2011-03-07 10:01:35 +1100
commita0fa2b679ecd15b4bdbb46cd2420b6affde91cf9 (patch)
tree48f905b8e795933e21f61c8248df5d9196f0bbe0 /fs/xfs/xfs_quota.h
parent4f10700a2e4bb2ff3d3a80f08412e21109e6d4b5 (diff)
downloadop-kernel-dev-a0fa2b679ecd15b4bdbb46cd2420b6affde91cf9.zip
op-kernel-dev-a0fa2b679ecd15b4bdbb46cd2420b6affde91cf9.tar.gz
xfs: Convert xlog_warn to new logging interface
Convert the xfs log operations to use the new error logging interfaces. This removes the xlog_{warn,panic} wrappers and makes almost all errors emit the device they belong to instead of just refering to "XFS". 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_quota.h')
-rw-r--r--fs/xfs/xfs_quota.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h
index 9bb6eda..a595f29 100644
--- a/fs/xfs/xfs_quota.h
+++ b/fs/xfs/xfs_quota.h
@@ -382,7 +382,8 @@ static inline int xfs_qm_sync(struct xfs_mount *mp, int flags)
xfs_trans_reserve_quota_bydquots(tp, mp, ud, gd, nb, ni, \
f | XFS_QMOPT_RES_REGBLKS)
-extern int xfs_qm_dqcheck(xfs_disk_dquot_t *, xfs_dqid_t, uint, uint, char *);
+extern int xfs_qm_dqcheck(struct xfs_mount *, xfs_disk_dquot_t *,
+ xfs_dqid_t, uint, uint, char *);
extern int xfs_mount_reset_sbqflags(struct xfs_mount *);
#endif /* __KERNEL__ */
OpenPOWER on IntegriCloud