Files
twx-linux/include/linux
Neil Brown 9636beeac8 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: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Eric Sandeen <esandeen@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-08-06 20:52:15 -07:00
..
2006-03-31 12:18:48 -08:00
2006-05-01 06:10:04 -04:00
2006-03-28 09:16:05 -08:00
2006-06-08 15:14:23 -07:00
2006-03-31 12:18:54 -08:00
2006-04-02 00:08:05 -05:00
2006-04-11 06:18:35 -07:00
2006-04-27 13:08:56 -07:00
2006-04-29 18:33:15 -07:00
2006-06-05 12:29:17 -07:00
2006-06-05 12:29:16 -07:00
2006-04-11 06:18:39 -07:00
2006-05-22 13:56:02 -04:00
2006-05-04 06:55:12 +02:00
2006-05-01 06:09:56 -04:00
2006-04-02 00:08:05 -05:00
2006-08-06 20:52:14 -07:00
2006-03-28 09:16:05 -08:00
2006-03-31 12:18:56 -08:00
2006-03-28 09:16:05 -08:00