]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xfs: cleanup xfs_qm_dqlookup
authorChristoph Hellwig <hch@infradead.org>
Tue, 6 Dec 2011 21:58:15 +0000 (21:58 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 13 Dec 2011 17:43:35 +0000 (11:43 -0600)
commit497507b9ee63499d364ad7149c584285cd925dfc
treea0377653cae16e61443a6fb46bd52b511f28e86f
parent800b484ec0262946262ad20561a8081fd31f4a6f
xfs: cleanup xfs_qm_dqlookup

Rearrange the code to avoid the conditional locking around the flist_locked
variable.  This means we lose a (rather pointless) assert, and hold the
freelist lock a bit longer for one corner case.

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