summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/inode.c
diff options
context:
space:
mode:
authorJeff Mahoney2006-11-03 07:07:20 +0100
committerLinus Torvalds2006-11-03 21:27:58 +0100
commitd2c89a4284ea4ecfba77c6f2d7d6f96d52e801e5 (patch)
treef51cc68a56a52cad0fd91a33c6a86821bf9abf31 /fs/reiserfs/inode.c
parent[PATCH] spi section fix (diff)
downloadkernel-qcow2-linux-d2c89a4284ea4ecfba77c6f2d7d6f96d52e801e5.tar.gz
kernel-qcow2-linux-d2c89a4284ea4ecfba77c6f2d7d6f96d52e801e5.tar.xz
kernel-qcow2-linux-d2c89a4284ea4ecfba77c6f2d7d6f96d52e801e5.zip
[PATCH] reiserfs: reset errval after initializing bitmap cache
Callers after reiserfs_init_bitmap_cache() expect errval to contain -EINVAL until much later. If a condition fails before errval is reset later, reiserfs_fill_super() will mistakenly return 0, causing an Oops in do_add_mount(). This patch resets errval to -EINVAL after the call. I view this as a temporary fix and real error codes should be used throughout reiserfs_fill_super(). Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs/inode.c')
0 files changed, 0 insertions, 0 deletions