* [PATCH 3/5] fs/namespace.c: Drop code after return
@ 2008-09-11 12:33 Julia Lawall
2008-09-11 13:46 ` Richard Genoud
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2008-09-11 12:33 UTC (permalink / raw)
To: viro, linux-fsdevel, vigneshbabu, richard.genoud, linux-kernel,
kernel-janitors
From: Julia Lawall <julia@diku.dk>
The extra semicolon serves no purpose.
Signed-off-by: Julia Lawall <julia@diku.dk>
---
fs/namespace.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index 6e283c9..7e6151a 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1993,7 +1993,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);
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH 3/5] fs/namespace.c: Drop code after return
2008-09-11 12:33 [PATCH 3/5] fs/namespace.c: Drop code after return Julia Lawall
@ 2008-09-11 13:46 ` Richard Genoud
0 siblings, 0 replies; 2+ messages in thread
From: Richard Genoud @ 2008-09-11 13:46 UTC (permalink / raw)
To: Julia Lawall
Cc: viro, linux-fsdevel, vigneshbabu, linux-kernel, kernel-janitors
2008/9/11 Julia Lawall <julia@diku.dk>:
> From: Julia Lawall <julia@diku.dk>
>
> The extra semicolon serves no purpose.
>
> Signed-off-by: Julia Lawall <julia@diku.dk>
Reviewed-by: Richard Genoud <richard.genoud@gmail.com>
> ---
>
> fs/namespace.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/namespace.c b/fs/namespace.c
> index 6e283c9..7e6151a 100644
> --- a/fs/namespace.c
> +++ b/fs/namespace.c
> @@ -1993,7 +1993,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);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-11 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-11 12:33 [PATCH 3/5] fs/namespace.c: Drop code after return Julia Lawall
2008-09-11 13:46 ` Richard Genoud
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®