Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165872
b: refs/heads/master
c: 1ba50bb
h: refs/heads/master
v: v3
  • Loading branch information
Boaz Harrosh authored and Al Viro committed Sep 24, 2009
1 parent df1b0ca commit dc47ddf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88a0a53d702b1fa39ed9e631939d2dbd92dfe486
refs/heads/master: 1ba50bbe93ebb98e83b174a85eff76af430c4e5b
6 changes: 0 additions & 6 deletions trunk/fs/exofs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ int exofs_sync_fs(struct super_block *sb, int wait)
}

lock_super(sb);
lock_kernel();
sbi = sb->s_fs_info;
fscb->s_nextid = cpu_to_le64(sbi->s_nextid);
fscb->s_numfiles = cpu_to_le32(sbi->s_numfiles);
Expand Down Expand Up @@ -245,7 +244,6 @@ int exofs_sync_fs(struct super_block *sb, int wait)
out:
if (or)
osd_end_request(or);
unlock_kernel();
unlock_super(sb);
kfree(fscb);
return ret;
Expand All @@ -268,8 +266,6 @@ static void exofs_put_super(struct super_block *sb)
int num_pend;
struct exofs_sb_info *sbi = sb->s_fs_info;

lock_kernel();

if (sb->s_dirt)
exofs_write_super(sb);

Expand All @@ -286,8 +282,6 @@ static void exofs_put_super(struct super_block *sb)
osduld_put_device(sbi->s_dev);
kfree(sb->s_fs_info);
sb->s_fs_info = NULL;

unlock_kernel();
}

/*
Expand Down

0 comments on commit dc47ddf

Please sign in to comment.