1
linux/fs/xfs/quota
Christoph Hellwig acecf1b5d8 xfs: stop using xfs_qm_dqtobp in xfs_qm_dqflush
In xfs_qm_dqflush we know that q_blkno must be initialized already from a
previous xfs_qm_dqread.  So instead of calling xfs_qm_dqtobp we can
simply read the quota buffer directly.  This also saves us from a duplicate
xfs_qm_dqcheck call check and allows xfs_qm_dqtobp to be simplified now
that it is always called for a newly initialized inode.  In addition to
that properly unwind all locks in xfs_qm_dqflush when xfs_qm_dqcheck
fails.

This mirrors a similar cleanup in the inode lookup done earlier.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
2010-10-18 15:07:37 -05:00
..
xfs_dquot_item.c xfs: fix the xfs_log_iovec i_addr type 2010-07-26 13:16:36 -05:00
xfs_dquot_item.h
xfs_dquot.c xfs: stop using xfs_qm_dqtobp in xfs_qm_dqflush 2010-10-18 15:07:37 -05:00
xfs_dquot.h
xfs_qm_bhv.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_qm_stats.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_qm_stats.h
xfs_qm_syscalls.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-08-07 12:57:07 -07:00
xfs_qm.c xfs: simplify xfs_qm_dqusage_adjust 2010-10-18 15:07:36 -05:00
xfs_qm.h
xfs_quota_priv.h
xfs_trans_dquot.c xfs: simplify log item descriptor tracking 2010-07-26 13:16:34 -05:00