diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-06 01:34:22 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-09 10:49:40 -0400 |
commit | 6f5bbff9a1b7d6864a495763448a363bbfa96324 (patch) | |
tree | 0067dca46f40def1c55541c34c262e06aeb8c4c8 /fs/nfs | |
parent | 74dbbdd7fdc11763f4698d2f3e684cf4446951e6 (diff) |
Convert obvious places to deactivate_locked_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/super.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 1679a164c8c9..d2d67781c579 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -2111,8 +2111,7 @@ out_err_nosb: | |||
2111 | error_splat_root: | 2111 | error_splat_root: |
2112 | dput(mntroot); | 2112 | dput(mntroot); |
2113 | error_splat_super: | 2113 | error_splat_super: |
2114 | up_write(&s->s_umount); | 2114 | deactivate_locked_super(s); |
2115 | deactivate_super(s); | ||
2116 | goto out; | 2115 | goto out; |
2117 | } | 2116 | } |
2118 | 2117 | ||
@@ -2208,8 +2207,7 @@ out_err_noserver: | |||
2208 | return error; | 2207 | return error; |
2209 | 2208 | ||
2210 | error_splat_super: | 2209 | error_splat_super: |
2211 | up_write(&s->s_umount); | 2210 | deactivate_locked_super(s); |
2212 | deactivate_super(s); | ||
2213 | dprintk("<-- nfs_xdev_get_sb() = %d [splat]\n", error); | 2211 | dprintk("<-- nfs_xdev_get_sb() = %d [splat]\n", error); |
2214 | return error; | 2212 | return error; |
2215 | } | 2213 | } |
@@ -2469,8 +2467,7 @@ out_free: | |||
2469 | error_splat_root: | 2467 | error_splat_root: |
2470 | dput(mntroot); | 2468 | dput(mntroot); |
2471 | error_splat_super: | 2469 | error_splat_super: |
2472 | up_write(&s->s_umount); | 2470 | deactivate_locked_super(s); |
2473 | deactivate_super(s); | ||
2474 | goto out; | 2471 | goto out; |
2475 | } | 2472 | } |
2476 | 2473 | ||
@@ -2564,8 +2561,7 @@ out_err_noserver: | |||
2564 | return error; | 2561 | return error; |
2565 | 2562 | ||
2566 | error_splat_super: | 2563 | error_splat_super: |
2567 | up_write(&s->s_umount); | 2564 | deactivate_locked_super(s); |
2568 | deactivate_super(s); | ||
2569 | dprintk("<-- nfs4_xdev_get_sb() = %d [splat]\n", error); | 2565 | dprintk("<-- nfs4_xdev_get_sb() = %d [splat]\n", error); |
2570 | return error; | 2566 | return error; |
2571 | } | 2567 | } |
@@ -2649,8 +2645,7 @@ out_err_noserver: | |||
2649 | return error; | 2645 | return error; |
2650 | 2646 | ||
2651 | error_splat_super: | 2647 | error_splat_super: |
2652 | up_write(&s->s_umount); | 2648 | deactivate_locked_super(s); |
2653 | deactivate_super(s); | ||
2654 | dprintk("<-- nfs4_referral_get_sb() = %d [splat]\n", error); | 2649 | dprintk("<-- nfs4_referral_get_sb() = %d [splat]\n", error); |
2655 | return error; | 2650 | return error; |
2656 | } | 2651 | } |