]> git.karo-electronics.de Git - karo-tx-linux.git/commit
reiserfs: Protect reiserfs_quota_write() with write lock
authorJan Kara <jack@suse.cz>
Tue, 13 Nov 2012 17:25:38 +0000 (18:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:02 +0000 (11:38 -0800)
commita23d6310a6fbe4a2a1d3a40251a6d5b8ae39ec22
tree00cc6961ca7a0dce1ede5ebc148892d600b7de55
parent8c7dcc4819098b0166e4559fbfd6fa661fbb5755
reiserfs: Protect reiserfs_quota_write() with write lock

commit 361d94a338a3fd0cee6a4ea32bbc427ba228e628 upstream.

Calls into reiserfs journalling code and reiserfs_get_block() need to
be protected with write lock. We remove write lock around calls to high
level quota code in the next patch so these paths would suddently become
unprotected.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/reiserfs/super.c