]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitb8a052d01669977f224255b0f9f2737018171ddb
tree2ef6c2e038d269f2bc4eb73e82439f0301d5c6b1
parent4854a5f0cbb1967fc7db3ea861d97afeea78b88b
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 3b9d4ed26680771295d904a6b83e88e620780893
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