[PATCH] knfsd: Make ext3 reject filehandles referring to invalid inode number
authorNeilBrown <neilb@suse.de>
Sat, 16 Sep 2006 19:15:38 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Sep 2006 19:54:31 +0000 (12:54 -0700)
commitfdb36673a9d6accf93b11e7eff3a7e34cd284616
tree3e34c42fc03b4606f834e0516a62417082fd1ab0
parentecaff756ff540f3821e2b00b8fa19aca07c7c3e5
[PATCH] knfsd: Make ext3 reject filehandles referring to invalid inode number

Inodes earlier than the 'first' inode (e.g.  journal, resize) should be
rejected early - except the root inode.  Also inode numbers that are too
big should be rejected early.

[akpm@osdl.org: 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/ext3/super.c