summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2008-12-01 23:34:51 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2009-01-01 00:07:38 +0100
commit5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded (patch)
treeaba5a14fe07d1ebc47991f6d70281b1b937931c4
parentinclude: linux/fs.h: put declarations in __KERNEL__ (diff)
downloadlinux-5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded.tar.xz
linux-5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded.zip
fs/namespace.c: drop code after return
The extra semicolon serves no purpose. Signed-off-by: Julia Lawall <julia@diku.dk> Reviewed-by: Richard Genoud <richard.genoud@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 1c09cab8f7cf..a40685d800a8 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1990,7 +1990,7 @@ static struct mnt_namespace *dup_mnt_ns(struct mnt_namespace *mnt_ns,
if (!new_ns->root) {
up_write(&namespace_sem);
kfree(new_ns);
- return ERR_PTR(-ENOMEM);;
+ return ERR_PTR(-ENOMEM);
}
spin_lock(&vfsmount_lock);
list_add_tail(&new_ns->list, &new_ns->root->mnt_list);