* [PATCH 1/1] Trivial: mnt_want_write: Remove unused label out
@ 2011-09-23 16:38 Kautuk Consul
0 siblings, 0 replies; only message in thread
From: Kautuk Consul @ 2011-09-23 16:38 UTC (permalink / raw)
To: Alexander Viro, Jiri Kosina, jkosina
Cc: linux-fsdevel, linux-kernel, Kautuk Consul
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>
---
fs/namespace.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index 22bfe82..2e906e9 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;
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-23 16:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-23 16:38 [PATCH 1/1] Trivial: mnt_want_write: Remove unused label out Kautuk Consul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).