diff options
author | Kautuk Consul <consul.kautuk@gmail.com> | 2011-09-23 16:38:29 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-10-29 19:22:14 (GMT) |
commit | a127e2d518269ad95364639c293c8a5c1a1cdd3c (patch) | |
tree | 71128f1d5c0a362f934c76a06a96b830fc6cc479 | |
parent | 435a95c5c8b279668cea32014e5c30821581792d (diff) | |
download | linux-a127e2d518269ad95364639c293c8a5c1a1cdd3c.tar.xz |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index b4febb2..9a1ddcd 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; } |