Files
twx-linux/fs
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-05-15 11:20:56 -07:00
2006-06-08 15:14:24 -07:00
2006-03-31 12:18:51 -08:00
2006-05-15 11:20:58 -07:00
2006-04-19 12:43:47 -04:00
2006-03-31 12:18:55 -08:00
2006-04-22 09:19:53 -07:00
2006-04-02 13:39:21 +02:00
2006-04-02 13:40:13 +02:00
2006-03-31 12:18:55 -08:00
2006-07-24 20:35:19 -07:00
2006-08-06 20:52:14 -07:00
2006-04-02 13:36:13 +02:00
2006-04-02 13:37:19 +02:00
2006-04-11 13:53:33 +02:00
2006-07-24 20:35:27 -07:00
2006-04-02 13:38:18 +02:00
2006-03-28 09:16:08 -08:00
2006-07-24 20:35:28 -07:00
2006-05-15 11:20:54 -07:00
2006-07-24 20:35:24 -07:00
2006-04-28 21:04:59 +10:00