Files
kernel/include/linux
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
..
2006-06-29 08:55:41 +01:00
2006-07-01 07:44:10 -04:00
2006-06-27 17:32:38 -07:00
2006-07-03 15:27:06 -07:00
2006-06-26 09:58:36 -07:00
2006-07-03 19:44:51 -07:00
2006-07-01 09:56:03 -07:00
2006-06-25 10:01:19 -07:00
2006-07-28 21:02:00 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-06-26 01:51:23 -04:00
2006-07-02 17:29:21 -07:00
2006-06-23 07:43:08 -07:00
2006-07-03 15:27:00 -07:00
2006-06-27 01:24:15 -04:00
2006-07-14 21:53:56 -07:00
2006-07-03 15:27:01 -07:00
2006-07-14 21:53:55 -07:00
2006-06-25 10:01:13 -07:00
2006-06-29 16:58:06 -07:00
2006-06-28 16:52:45 -04:00
2006-06-25 10:01:09 -07:00
2006-07-05 23:02:48 -04:00
2006-07-12 16:05:48 -07:00
2006-06-28 15:54:27 -07:00
2006-07-03 19:48:25 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:14 -07:00
2006-06-30 11:25:38 -07:00
2006-06-30 11:25:37 -07:00
2006-06-23 07:43:06 -07:00
2006-06-30 18:25:18 +02:00
2006-07-12 16:03:20 -07:00
2006-07-03 23:30:54 +02:00
2006-07-10 13:24:25 -07:00