aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorKautuk Consul <consul.kautuk@gmail.com>2011-09-23 12:38:29 -0400
committerJiri Kosina <jkosina@suse.cz>2011-10-29 15:22:14 -0400
commita127e2d518269ad95364639c293c8a5c1a1cdd3c (patch)
tree71128f1d5c0a362f934c76a06a96b830fc6cc479 /fs/namespace.c
parent435a95c5c8b279668cea32014e5c30821581792d (diff)
namespace: mnt_want_write: Remove unused label 'out'
I was studying the code and I saw that the out label is not being used at all so I removed it and its usage from the function. Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index b4febb29d3bb..9a1ddcda655f 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -352,9 +352,7 @@ int mnt_want_write(struct vfsmount *mnt)
352 if (__mnt_is_readonly(mnt)) { 352 if (__mnt_is_readonly(mnt)) {
353 mnt_dec_writers(mnt); 353 mnt_dec_writers(mnt);
354 ret = -EROFS; 354 ret = -EROFS;
355 goto out;
356 } 355 }
357out:
358 preempt_enable(); 356 preempt_enable();
359 return ret; 357 return ret;
360} 358}