Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197944
b: refs/heads/master
c: e7fe058
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed May 21, 2010
1 parent 45eddbf commit 444869d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6754af64641e8224c281ee5714e012e3ed41f701
refs/heads/master: e7fe0585ca8793e2d43c57e77d4ca79042806acf
6 changes: 3 additions & 3 deletions trunk/fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,10 +602,10 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force)

static void do_emergency_remount(struct work_struct *work)
{
struct super_block *sb;
struct super_block *sb, *n;

spin_lock(&sb_lock);
list_for_each_entry(sb, &super_blocks, s_list) {
list_for_each_entry_safe(sb, n, &super_blocks, s_list) {
if (list_empty(&sb->s_instances))
continue;
sb->s_count++;
Expand All @@ -618,8 +618,8 @@ static void do_emergency_remount(struct work_struct *work)
do_remount_sb(sb, MS_RDONLY, NULL, 1);
}
up_write(&sb->s_umount);
put_super(sb);
spin_lock(&sb_lock);
__put_super(sb);
}
spin_unlock(&sb_lock);
kfree(work);
Expand Down

0 comments on commit 444869d

Please sign in to comment.