Commit a127e2d5 authored by Kautuk Consul's avatar Kautuk Consul Committed by Jiri Kosina

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: default avatarKautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 435a95c5
...@@ -352,9 +352,7 @@ int mnt_want_write(struct vfsmount *mnt) ...@@ -352,9 +352,7 @@ int mnt_want_write(struct vfsmount *mnt)
if (__mnt_is_readonly(mnt)) { if (__mnt_is_readonly(mnt)) {
mnt_dec_writers(mnt); mnt_dec_writers(mnt);
ret = -EROFS; ret = -EROFS;
goto out;
} }
out:
preempt_enable(); preempt_enable();
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment