diff options
author | Andrew Morton <akpm@osdl.org> | 2005-07-26 17:08:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-26 17:34:18 -0400 |
commit | 89373de7dd010832d8b68cb37dabb33ff5a688bb (patch) | |
tree | a9585ae0ad7b1fd559fe41b977e03e5895c92060 /fs/inotify.c | |
parent | 725b38ab5401c73cedc1b1d913782fadcd0f624a (diff) |
[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/inotify.c')
-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) | |||
1032 | panic("inotify: register_filesystem returned %d!\n", ret); | 1032 | panic("inotify: register_filesystem returned %d!\n", ret); |
1033 | 1033 | ||
1034 | inotify_mnt = kern_mount(&inotify_fs_type); | 1034 | inotify_mnt = kern_mount(&inotify_fs_type); |
1035 | if (unlikely(PTR_ERR(inotify_mnt))) | 1035 | if (IS_ERR(inotify_mnt)) |
1036 | panic("inotify: kern_mount ret %ld!\n", PTR_ERR(inotify_mnt)); | 1036 | panic("inotify: kern_mount ret %ld!\n", PTR_ERR(inotify_mnt)); |
1037 | 1037 | ||
1038 | inotify_max_queued_events = 16384; | 1038 | inotify_max_queued_events = 16384; |