summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKautuk Consul <consul.kautuk@gmail.com>2011-09-23 22:08:29 +0530
committerJiri Kosina <jkosina@suse.cz>2011-10-29 21:22:14 +0200
commita127e2d518269ad95364639c293c8a5c1a1cdd3c (patch)
tree71128f1d5c0a362f934c76a06a96b830fc6cc479
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>
-rw-r--r--fs/namespace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index b4febb29d3b..9a1ddcda655 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -352,9 +352,7 @@ int mnt_want_write(struct vfsmount *mnt)
if (__mnt_is_readonly(mnt)) {
mnt_dec_writers(mnt);
ret = -EROFS;
- goto out;
}
-out:
preempt_enable();
return ret;
}