* [PATCH 5/8] hpfs: drop lock/unlock super
@ 2012-08-30 14:58 Marco Stornelli
2012-08-30 23:49 ` Mikulas Patocka
0 siblings, 1 reply; 3+ messages in thread
From: Marco Stornelli @ 2012-08-30 14:58 UTC (permalink / raw)
To: Al Viro; +Cc: Mikulas Patocka, linux-kernel, Linux FS Devel
Removed lock/unlock super.
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
---
fs/hpfs/super.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index 706a12c..8af2cdc 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -389,7 +389,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;
@@ -422,12 +421,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;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 5/8] hpfs: drop lock/unlock super
2012-08-30 14:58 [PATCH 5/8] hpfs: drop lock/unlock super Marco Stornelli
@ 2012-08-30 23:49 ` Mikulas Patocka
0 siblings, 0 replies; 3+ messages in thread
From: Mikulas Patocka @ 2012-08-30 23:49 UTC (permalink / raw)
To: Marco Stornelli; +Cc: Al Viro, linux-kernel, Linux FS Devel
It looks ok.
Mikulas
On Thu, 30 Aug 2012, Marco Stornelli wrote:
> Removed lock/unlock super.
>
> Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
> ---
> fs/hpfs/super.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
> index 706a12c..8af2cdc 100644
> --- a/fs/hpfs/super.c
> +++ b/fs/hpfs/super.c
> @@ -389,7 +389,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;
> @@ -422,12 +421,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;
> --
> 1.7.3.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 5/8] hpfs: drop lock/unlock super
@ 2012-10-06 10:41 Marco Stornelli
0 siblings, 0 replies; 3+ messages in thread
From: Marco Stornelli @ 2012-10-06 10:41 UTC (permalink / raw)
To: Al Viro; +Cc: Mikulas Patocka, linux-kernel, Linux FS Devel
Removed lock/unlock super.
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Acked-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
---
fs/hpfs/super.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index bc28bf0..a307622 100644
--- 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;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-06 10:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-30 14:58 [PATCH 5/8] hpfs: drop lock/unlock super Marco Stornelli
2012-08-30 23:49 ` Mikulas Patocka
2012-10-06 10:41 Marco Stornelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).