* [PATCH] Remove superfluous error check
@ 2009-09-08 21:49 Giuseppe Scrivano
2009-09-10 13:25 ` Eric Paris
0 siblings, 1 reply; 2+ messages in thread
From: Giuseppe Scrivano @ 2009-09-08 21:49 UTC (permalink / raw)
To: linux-fsdevel; +Cc: eparis
>From 0be5c84f21c8b163ed81b7e38f87e8d7a807b975 Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <gscrivano@gnu.org>
Date: Tue, 8 Sep 2009 23:40:03 +0200
Subject: [PATCH] Remove superfluous return code check
---
fs/notify/inotify/inotify_user.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index dcd2040..d8135e5 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -747,8 +747,6 @@ SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname,
/* create/update an inode mark */
ret = inotify_update_watch(group, inode, mask);
- if (unlikely(ret))
- goto path_put_and_out;
path_put_and_out:
path_put(&path);
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Remove superfluous error check
2009-09-08 21:49 [PATCH] Remove superfluous error check Giuseppe Scrivano
@ 2009-09-10 13:25 ` Eric Paris
0 siblings, 0 replies; 2+ messages in thread
From: Eric Paris @ 2009-09-10 13:25 UTC (permalink / raw)
To: Giuseppe Scrivano; +Cc: linux-fsdevel
On Tue, Sep 8, 2009 at 5:49 PM, Giuseppe Scrivano <gscrivano@gnu.org> wrote:
> From 0be5c84f21c8b163ed81b7e38f87e8d7a807b975 Mon Sep 17 00:00:00 2001
> From: Giuseppe Scrivano <gscrivano@gnu.org>
> Date: Tue, 8 Sep 2009 23:40:03 +0200
> Subject: [PATCH] Remove superfluous return code check
Thanks, I'll add it to my -next tree.
-Eric
> ---
> fs/notify/inotify/inotify_user.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
> index dcd2040..d8135e5 100644
> --- a/fs/notify/inotify/inotify_user.c
> +++ b/fs/notify/inotify/inotify_user.c
> @@ -747,8 +747,6 @@ SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname,
>
> /* create/update an inode mark */
> ret = inotify_update_watch(group, inode, mask);
> - if (unlikely(ret))
> - goto path_put_and_out;
>
> path_put_and_out:
> path_put(&path);
> --
> 1.6.3.3
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-10 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08 21:49 [PATCH] Remove superfluous error check Giuseppe Scrivano
2009-09-10 13:25 ` Eric Paris
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).