From 65964492ea6858e595faf0982219bda4adaa8643 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 3 Dec 2009 17:01:41 +0100 Subject: [PATCH] --- yaml --- r: 173814 b: refs/heads/master c: 336e8683b9a8921049d0e6bb0ca5e18160828ec6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/notify/inotify/inotify_user.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/[refs] b/[refs] index a7d584571ee8..662958acde2e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 870571a2ef6fb2d6306673b4376fec93d441e013 +refs/heads/master: 336e8683b9a8921049d0e6bb0ca5e18160828ec6 diff --git a/trunk/fs/notify/inotify/inotify_user.c b/trunk/fs/notify/inotify/inotify_user.c index dcd2040d330c..499f5ede0adf 100644 --- a/trunk/fs/notify/inotify/inotify_user.c +++ b/trunk/fs/notify/inotify/inotify_user.c @@ -747,10 +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); fput_and_out: fput_light(filp, fput_needed);