tree a9585ae0ad7b1fd559fe41b977e03e5895c92060
parent 725b38ab5401c73cedc1b1d913782fadcd0f624a
author Andrew Morton <[EMAIL PROTECTED]> Wed, 27 Jul 2005 04:08:38 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Wed, 27 Jul 2005 04:34:18 -0700

[PATCH] inotify: fix oops fix

Cc: Robert Love <[EMAIL PROTECTED]>
Cc: John McCutchan <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 fs/inotify.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/inotify.c b/fs/inotify.c
--- 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;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to