android_kernel_xiaomi_sm8350/fs/ext3
Neil Brown 2ccb48ebb4 [PATCH] ext3: avoid triggering ext3_error on bad NFS file handle
The inode number out of an NFS file handle gets passed eventually to
ext3_get_inode_block() without any checking.  If ext3_get_inode_block()
allows it to trigger an error, then bad filehandles can have unpleasant
effect - ext3_error() will usually cause a forced read-only remount, or a
panic if `errors=panic' was used.

So remove the call to ext3_error there and put a matching check in
ext3/namei.c where inode numbers are read off storage.

[akpm@osdl.org: fix off-by-one error]
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: <stable@kernel.org>
Cc: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Eric Sandeen <esandeen@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-31 13:28:36 -07:00
..
acl.c
acl.h [PATCH] Remove leftover ext3 acl declarations 2006-07-10 13:24:26 -07:00
balloc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
bitmap.c
dir.c [RBTREE] Update ext3 to use rb_parent() accessor macro. 2006-04-21 13:15:57 +01:00
file.c [PATCH] Introduce sys_splice() system call 2006-03-30 12:28:18 -08:00
fsync.c
hash.c
ialloc.c [PATCH] ext3_fsblk_t: filesystem, group blocks and bug fixes 2006-06-25 10:01:10 -07:00
inode.c [PATCH] ext3: avoid triggering ext3_error on bad NFS file handle 2006-07-31 13:28:36 -07:00
ioctl.c [PATCH] ext3_fsblk_t: the rest of in-kernel filesystem blocks conversion 2006-06-25 10:01:10 -07:00
Makefile
namei.c [PATCH] ext3: avoid triggering ext3_error on bad NFS file handle 2006-07-31 13:28:36 -07:00
namei.h
resize.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
super.c [PATCH] lockdep: annotate the quota code 2006-07-03 15:27:08 -07:00
symlink.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c [PATCH] ext3_fsblk_t: the rest of in-kernel filesystem blocks conversion 2006-06-25 10:01:10 -07:00
xattr.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00