Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229147
b: refs/heads/master
c: 0484b1c
h: refs/heads/master
i:
  229145: 3334442
  229143: 04b88d5
v: v3
  • Loading branch information
Jan Kara committed Jan 6, 2011
1 parent 2d29e72 commit cabdb11
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: c03cad241af63445b751781a09faf08b3a5b77c1
refs/heads/master: 0484b1cedc053cf88a046da5f08bc00747e533cb
6 changes: 0 additions & 6 deletions trunk/fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ static int udf_remount_fs(struct super_block *sb, int *flags, char *options)
if (!udf_parse_options(options, &uopt, true))
return -EINVAL;

lock_kernel();
write_lock(&sbi->s_cred_lock);
sbi->s_flags = uopt.flags;
sbi->s_uid = uopt.uid;
Expand All @@ -592,7 +591,6 @@ static int udf_remount_fs(struct super_block *sb, int *flags, char *options)
udf_open_lvid(sb);

out_unlock:
unlock_kernel();
return error;
}

Expand Down Expand Up @@ -2132,8 +2130,6 @@ static void udf_put_super(struct super_block *sb)

sbi = UDF_SB(sb);

lock_kernel();

if (sbi->s_vat_inode)
iput(sbi->s_vat_inode);
if (sbi->s_partitions)
Expand All @@ -2149,8 +2145,6 @@ static void udf_put_super(struct super_block *sb)
kfree(sbi->s_partmaps);
kfree(sb->s_fs_info);
sb->s_fs_info = NULL;

unlock_kernel();
}

static int udf_sync_fs(struct super_block *sb, int wait)
Expand Down

0 comments on commit cabdb11

Please sign in to comment.