reiserfs: locking, release lock around quota operations
authorJeff Mahoney <jeffm@suse.com>
Thu, 8 Aug 2013 21:34:47 +0000 (17:34 -0400)
committerJeff Mahoney <jeffm@suse.de>
Thu, 8 Aug 2013 21:34:47 +0000 (17:34 -0400)
commitd2d0395fd1778d4bf714adc5bfd23a5d748d7802
tree7205eff1242051818b57423142394690620c2731
parent278f6679f454bf185a07d9a4ca355b153482d17a
reiserfs: locking, release lock around quota operations

Previous commits released the write lock across quota operations but
missed several places.  In particular, the free operations can also
call into the file system code and take the write lock, causing
deadlocks.

This patch introduces some more helpers and uses them for quota call
sites.  Without this patch applied, reiserfs + quotas runs into deadlocks
under anything more than trivial load.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
fs/reiserfs/bitmap.c
fs/reiserfs/inode.c
fs/reiserfs/stree.c
fs/reiserfs/super.c
This page took 0.028404 seconds and 5 git commands to generate.