[PATCH] knfsd: Have ext2 reject file handles with bad inode numbers early
authorNeilBrown <neilb@suse.de>
Sat, 16 Sep 2006 19:15:37 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Sep 2006 19:54:30 +0000 (12:54 -0700)
commitecaff756ff540f3821e2b00b8fa19aca07c7c3e5
tree80c40b24ad9228dcd7cf48c798250a9ccc74887a
parent55ebcc38a5f6d40e4c41447e413ef842b803980f
[PATCH] knfsd: Have ext2 reject file handles with bad inode numbers early

This prevents bad inode numbers from triggering errors in ext2_get_inode.

[akpm@osdl.org: speedup, cleanup]
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext2/super.c