diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-03-07 10:01:35 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2011-03-07 10:01:35 +1100 |
commit | a0fa2b679ecd15b4bdbb46cd2420b6affde91cf9 (patch) | |
tree | 48f905b8e795933e21f61c8248df5d9196f0bbe0 /fs/xfs/xfs_quota.h | |
parent | 4f10700a2e4bb2ff3d3a80f08412e21109e6d4b5 (diff) | |
download | linux-a0fa2b679ecd15b4bdbb46cd2420b6affde91cf9.tar.gz linux-a0fa2b679ecd15b4bdbb46cd2420b6affde91cf9.tar.bz2 linux-a0fa2b679ecd15b4bdbb46cd2420b6affde91cf9.zip |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h index 9bb6eda4cd21..a595f29567fe 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__ */ |