From 27a7dc985efb19c33404337a2d281e69fa784190 Mon Sep 17 00:00:00 2001 From: Dave Kleikamp Date: Mon, 18 Sep 2006 20:12:33 -0700 Subject: [PATCH] --- yaml --- r: 33984 b: refs/heads/master c: 833f73299fdf4497af1552e219e95661f4d2cdca h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext2/balloc.c | 1 - trunk/fs/ext2/ialloc.c | 1 - trunk/fs/ext2/super.c | 2 -- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/[refs] b/[refs] index b3b94166fa3e..5f8535ee0211 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ac7fb273ca1d0b4fb354575bb6e101ffd09e0b54 +refs/heads/master: 833f73299fdf4497af1552e219e95661f4d2cdca diff --git a/trunk/fs/ext2/balloc.c b/trunk/fs/ext2/balloc.c index d4870432ecfc..b1981d0e95ad 100644 --- a/trunk/fs/ext2/balloc.c +++ b/trunk/fs/ext2/balloc.c @@ -539,7 +539,6 @@ unsigned long ext2_count_free (struct buffer_head * map, unsigned int numchars) #endif /* EXT2FS_DEBUG */ -/* Superblock must be locked */ unsigned long ext2_count_free_blocks (struct super_block * sb) { struct ext2_group_desc * desc; diff --git a/trunk/fs/ext2/ialloc.c b/trunk/fs/ext2/ialloc.c index de85c61c58c5..695f69ccf908 100644 --- a/trunk/fs/ext2/ialloc.c +++ b/trunk/fs/ext2/ialloc.c @@ -637,7 +637,6 @@ struct inode *ext2_new_inode(struct inode *dir, int mode) return ERR_PTR(err); } -/* Superblock must be locked */ unsigned long ext2_count_free_inodes (struct super_block * sb) { struct ext2_group_desc *desc; diff --git a/trunk/fs/ext2/super.c b/trunk/fs/ext2/super.c index ca5bfb6914d2..4286ff6330b6 100644 --- a/trunk/fs/ext2/super.c +++ b/trunk/fs/ext2/super.c @@ -1083,7 +1083,6 @@ static int ext2_statfs (struct dentry * dentry, struct kstatfs * buf) unsigned long overhead; int i; - lock_super(sb); if (test_opt (sb, MINIX_DF)) overhead = 0; else { @@ -1124,7 +1123,6 @@ static int ext2_statfs (struct dentry * dentry, struct kstatfs * buf) buf->f_files = le32_to_cpu(sbi->s_es->s_inodes_count); buf->f_ffree = ext2_count_free_inodes (sb); buf->f_namelen = EXT2_NAME_LEN; - unlock_super(sb); return 0; }