diff options
author | Jeff Mahoney <jeffm@suse.com> | 2009-03-30 14:02:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 15:16:38 -0400 |
commit | d984561b326cd0fe0d1183d11b9b4fa1d011d21d (patch) | |
tree | e0487588581bccaa2b875529ed84ec5a4a254ab9 /fs/reiserfs/super.c | |
parent | 6c17675e1e02ebde220ef639a3fb1333928ec2f4 (diff) |
reiserfs: eliminate per-super xattr lock
With the switch to using inode->i_mutex locking during lookups/creation
in the xattr root, the per-super xattr lock is no longer needed.
This patch removes it.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/super.c')
-rw-r--r-- | fs/reiserfs/super.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index fc7cb4661ee..6d10f81b4fc 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c | |||
@@ -1646,10 +1646,6 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent) | |||
1646 | REISERFS_SB(s)->s_alloc_options.preallocmin = 0; | 1646 | REISERFS_SB(s)->s_alloc_options.preallocmin = 0; |
1647 | /* Preallocate by 16 blocks (17-1) at once */ | 1647 | /* Preallocate by 16 blocks (17-1) at once */ |
1648 | REISERFS_SB(s)->s_alloc_options.preallocsize = 17; | 1648 | REISERFS_SB(s)->s_alloc_options.preallocsize = 17; |
1649 | #ifdef CONFIG_REISERFS_FS_XATTR | ||
1650 | /* Initialize the rwsem for xattr dir */ | ||
1651 | init_rwsem(&REISERFS_SB(s)->xattr_dir_sem); | ||
1652 | #endif | ||
1653 | /* setup default block allocator options */ | 1649 | /* setup default block allocator options */ |
1654 | reiserfs_init_alloc_options(s); | 1650 | reiserfs_init_alloc_options(s); |
1655 | 1651 | ||