]> git.baikalelectronics.ru Git - kernel.git/commit
ext3: Replace lock/unlock_super() with an explicit lock for the orphan list
authorEric Sandeen <sandeen@redhat.com>
Mon, 14 Dec 2009 19:00:30 +0000 (13:00 -0600)
committerJan Kara <jack@suse.cz>
Wed, 23 Dec 2009 12:44:11 +0000 (13:44 +0100)
commit2d37f9089026f1aa9440228a7bf1ccc58e54245a
tree2ef6c2e038d269f2bc4eb73e82439f0301d5c6b1
parentdddab3a4ba4db9579249cc6a8aea7247f496b2ed
ext3: Replace lock/unlock_super() with an explicit lock for the orphan list

Use a separate lock to protect the orphan list, so we can stop
overloading the use of lock_super().

Port of ext4 commit 2cbe5d4f76803bd26e2d48847ae69c303dd1798a
by Theodore Ts'o <tytso@mit.edu>.

CC: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/namei.c
fs/ext3/super.c
include/linux/ext3_fs_sb.h