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
..
2010-10-18 15:07:25 -05:00
2010-10-18 15:07:37 -05:00
2010-07-26 13:16:33 -05:00
2009-06-10 17:07:47 +02:00
2010-07-26 13:16:34 -05:00
2010-05-21 18:31:19 -04:00
2010-05-28 15:19:56 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:51 -05:00
2010-07-26 13:16:43 -05:00
2009-06-10 17:07:47 +02:00
2010-07-26 13:16:39 -05:00
2010-01-20 10:47:48 +11:00
2010-07-26 13:16:39 -05:00
2010-01-20 10:47:48 +11:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:31:38 -06:00
2010-10-18 15:07:25 -05:00
2010-10-18 15:07:25 -05:00
2009-12-14 23:08:16 -06:00
2010-07-26 13:16:33 -05:00
2009-08-31 14:46:20 -05:00
2010-07-26 13:16:52 -05:00
2010-07-26 13:16:35 -05:00
2010-07-26 13:16:51 -05:00
2010-01-20 10:47:17 +11:00
2010-07-26 13:16:36 -05:00
2010-01-15 15:31:23 -06:00
2010-07-26 13:16:51 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:39 -05:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:31:38 -06:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:44 -05:00
2010-01-20 10:47:25 +11:00
2010-07-26 13:16:33 -05:00
2010-05-19 09:58:11 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:51 -05:00
2010-07-26 13:16:51 -05:00
2010-10-18 15:07:25 -05:00
2010-08-24 11:46:31 +10:00
2010-08-24 11:46:31 +10:00
2010-07-26 13:16:33 -05:00
2010-08-24 11:42:30 +10:00
2009-09-01 12:45:39 -05:00
2010-07-26 13:16:51 -05:00
2010-07-26 16:07:38 -05:00
2010-07-26 13:16:36 -05:00
2010-08-24 11:42:41 +10:00
2010-07-26 13:16:48 -05:00
2009-08-31 14:46:22 -05:00
2010-07-26 13:16:42 -05:00
2010-07-26 13:16:43 -05:00
2010-07-26 13:16:44 -05:00
2010-06-24 11:35:17 +10:00
2010-09-29 07:51:03 -05:00
2010-09-29 07:51:03 -05:00
2010-07-26 13:16:36 -05:00
2010-05-24 10:33:39 -05:00
2010-08-24 11:40:03 +10:00
2010-07-26 13:16:38 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:51 -05:00
2010-01-15 15:34:22 -06:00
2010-01-15 15:34:22 -06:00
2010-05-19 09:58:15 -05:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:39 -05:00
2010-05-28 14:58:24 -05:00
2010-07-26 13:16:33 -05:00
2010-02-12 13:43:57 -06:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:35 -05:00
2010-07-26 13:16:34 -05:00
2010-07-26 13:16:36 -05:00
2010-08-24 11:42:52 +10:00
2010-08-24 11:42:52 +10:00
2010-07-26 13:16:38 -05:00
2010-05-24 10:33:52 -05:00
2010-07-26 13:16:52 -05:00
2010-07-26 13:16:52 -05:00
2010-10-18 15:07:25 -05:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00