commit | 9dce07f1a441b77a15631cf0ed0238e0baa7ed64 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Sat Mar 29 03:07:28 2008 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Mar 30 14:18:41 2008 -0700 |
tree | 2131d670d31ae4727b4234e3e0ad176ae103d571 | |
parent | 1076d17ac70d1bb28fadc6f4bd96977b56897025 [diff] [blame] |
NULL noise: fs/*, mm/*, kernel/* Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c index b378eea..8867533 100644 --- a/fs/reiserfs/namei.c +++ b/fs/reiserfs/namei.c
@@ -452,7 +452,7 @@ buflen = DEH_SIZE + ROUND_UP(namelen); if (buflen > sizeof(small_buf)) { buffer = kmalloc(buflen, GFP_NOFS); - if (buffer == 0) + if (!buffer) return -ENOMEM; } else buffer = small_buf;