|
@@ -1083,7 +1083,6 @@ static int ext2_statfs (struct dentry * dentry, struct kstatfs * buf)
|
|
|
unsigned long overhead;
|
|
unsigned long overhead;
|
|
|
int i;
|
|
int i;
|
|
|
|
|
|
|
|
- lock_super(sb);
|
|
|
|
|
if (test_opt (sb, MINIX_DF))
|
|
if (test_opt (sb, MINIX_DF))
|
|
|
overhead = 0;
|
|
overhead = 0;
|
|
|
else {
|
|
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_files = le32_to_cpu(sbi->s_es->s_inodes_count);
|
|
|
buf->f_ffree = ext2_count_free_inodes (sb);
|
|
buf->f_ffree = ext2_count_free_inodes (sb);
|
|
|
buf->f_namelen = EXT2_NAME_LEN;
|
|
buf->f_namelen = EXT2_NAME_LEN;
|
|
|
- unlock_super(sb);
|
|
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|