projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40b34c
)
hpfs: drop lock/unlock super
author
Marco Stornelli
<
[email protected]
>
Sat, 6 Oct 2012 10:41:05 +0000
(12:41 +0200)
committer
Al Viro
<
[email protected]
>
Wed, 10 Oct 2012 03:33:38 +0000
(23:33 -0400)
Removed lock/unlock super.
Signed-off-by: Marco Stornelli <
[email protected]
>
Acked-by: Mikulas Patocka <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
fs/hpfs/super.c
patch
|
blob
|
history
diff --git
a/fs/hpfs/super.c
b/fs/hpfs/super.c
index bc28bf077a6abe92b4041be6f6057cd6815fd57b..a3076228523db4db7a105a966f6049a8570b705c 100644
(file)
--- a/
fs/hpfs/super.c
+++ b/
fs/hpfs/super.c
@@
-398,7
+398,6
@@
static int hpfs_remount_fs(struct super_block *s, int *flags, char *data)
*flags |= MS_NOATIME;
hpfs_lock(s);
- lock_super(s);
uid = sbi->sb_uid; gid = sbi->sb_gid;
umask = 0777 & ~sbi->sb_mode;
lowercase = sbi->sb_lowercase;
@@
-431,12
+430,10
@@
static int hpfs_remount_fs(struct super_block *s, int *flags, char *data)
replace_mount_options(s, new_opts);
- unlock_super(s);
hpfs_unlock(s);
return 0;
out_err:
- unlock_super(s);
hpfs_unlock(s);
kfree(new_opts);
return -EINVAL;