]> Pileus Git - ~andy/linux/commit
xfs: use xfs_ilock_data_map_shared in xfs_qm_dqtobp
authorChristoph Hellwig <hch@infradead.org>
Fri, 6 Dec 2013 20:30:13 +0000 (12:30 -0800)
committerBen Myers <bpm@sgi.com>
Wed, 18 Dec 2013 22:04:18 +0000 (16:04 -0600)
commitf4df8adc8325127ff015ef9c2a8f005edaaedd07
tree28838c20c5a81d1574023752262fe25135dd1053
parent4f317369d46956ccd76b5d28cf66b3f8b24f3480
xfs: use xfs_ilock_data_map_shared in xfs_qm_dqtobp

We might not have read in the extent list at this point, so make sure we
take the ilock exclusively if we have to do so.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dquot.c