xfs: use xfs_ilock_data_map_shared in xfs_qm_dqiterate
authorChristoph Hellwig <hch@infradead.org>
Fri, 6 Dec 2013 20:30:14 +0000 (12:30 -0800)
committerBen Myers <bpm@sgi.com>
Wed, 18 Dec 2013 22:06:38 +0000 (16:06 -0600)
commitda51d32d4596a14ee33917b9eca056d4bf41706a
tree70e7420e80bf0e535c64dffbc9cbb6586ed7aa79
parentf4df8adc8325127ff015ef9c2a8f005edaaedd07
xfs: use xfs_ilock_data_map_shared in xfs_qm_dqiterate

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_qm.c