projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
870571a
)
inotify: remove superfluous return code check
author
Giuseppe Scrivano
<gscrivano@gnu.org>
Thu, 3 Dec 2009 16:01:41 +0000
(17:01 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 4 Dec 2009 14:39:58 +0000
(15:39 +0100)
Signed-off-by: Giuseppe Scrivano <gscrivano@gnu.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
fs/notify/inotify/inotify_user.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/notify/inotify/inotify_user.c
b/fs/notify/inotify/inotify_user.c
index dcd2040d330c4397d8cfdaa78a9c27dd990fe9ad..499f5ede0adf4e79103161a82edaba044642459b 100644
(file)
--- a/
fs/notify/inotify/inotify_user.c
+++ b/
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);