Skip to content

Commit

Permalink
namespace: mnt_want_write: Remove unused label 'out'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kautuk Consul authored and Jiri Kosina committed Oct 29, 2011
1 parent 435a95c commit a127e2d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a127e2d

Please sign in to comment.