diff options
author | Andrew Morton <akpm@osdl.org> | 2005-07-26 14:08:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-26 14:34:18 -0700 |
commit | 89373de7dd010832d8b68cb37dabb33ff5a688bb (patch) | |
tree | a9585ae0ad7b1fd559fe41b977e03e5895c92060 /fs | |
parent | 725b38ab5401c73cedc1b1d913782fadcd0f624a (diff) | |
download | linux-89373de7dd010832d8b68cb37dabb33ff5a688bb.tar.bz2 |
[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 'fs')
-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; |