Skip to content

Commit

Permalink
[PATCH] inotify: fix oops fix
Browse files Browse the repository at this point in the history
Cc: Robert Love <[email protected]>
Cc: John McCutchan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 26, 2005
1 parent 725b38a commit 89373de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/inotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 89373de

Please sign in to comment.