projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
725b38a
)
[PATCH] inotify: fix oops fix
author
Andrew Morton
<akpm@osdl.org>
Tue, 26 Jul 2005 21:08:38 +0000
(14:08 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:34:18 +0000
(14:34 -0700)
Cc: Robert Love <rml@novell.com>
Cc: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/inotify.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/inotify.c
b/fs/inotify.c
index cdfff9067149cd8f20b5bef9928a583f51f8fef4..a8a714e481405f37c3886c1761dd078a9e1fef37 100644
(file)
--- a/
fs/inotify.c
+++ b/
fs/inotify.c
@@
-1032,7
+1032,7
@@
static int __init inotify_setup(void)
panic("inotify: register_filesystem returned %d!\n", ret);
inotify_mnt = kern_mount(&inotify_fs_type);
- if (
unlikely(PTR_ERR(inotify_mnt)
))
+ if (
IS_ERR(inotify_mnt
))
panic("inotify: kern_mount ret %ld!\n", PTR_ERR(inotify_mnt));
inotify_max_queued_events = 16384;