diff options
author | Andrew Morton <akpm@osdl.org> | 2005-07-26 23:08:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-26 23:34:18 +0200 |
commit | 89373de7dd010832d8b68cb37dabb33ff5a688bb (patch) | |
tree | a9585ae0ad7b1fd559fe41b977e03e5895c92060 /fs/inotify.c | |
parent | [PATCH] inotify: add x86-64 syscall entries (diff) | |
download | linux-89373de7dd010832d8b68cb37dabb33ff5a688bb.tar.xz linux-89373de7dd010832d8b68cb37dabb33ff5a688bb.zip |
[PATCH] inotify: fix oops fix
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>
Diffstat (limited to '')
-rw-r--r-- | fs/inotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inotify.c b/fs/inotify.c index cdfff9067149..a8a714e48140 100644 --- 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; |