summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-26 14:08:38 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 14:34:18 -0700
commit89373de7dd010832d8b68cb37dabb33ff5a688bb (patch)
treea9585ae0ad7b1fd559fe41b977e03e5895c92060 /fs
parent725b38ab5401c73cedc1b1d913782fadcd0f624a (diff)
downloadop-kernel-dev-89373de7dd010832d8b68cb37dabb33ff5a688bb.zip
op-kernel-dev-89373de7dd010832d8b68cb37dabb33ff5a688bb.tar.gz
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inotify.c b/fs/inotify.c
index cdfff90..a8a714e 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;
OpenPOWER on IntegriCloud