]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] Patch to detect corrupt number of dir entries in leaf and/or inode blocks
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 18 Apr 2007 08:38:42 +0000 (09:38 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 1 May 2007 08:11:30 +0000 (09:11 +0100)
commita9e34ece83f1a08a9e2b5457ec7c17c8c2643d7f
tree6c0367cb96582f87432047ea92e3a67eaeef3635
parenta1938e6464220c9989525ff6b99a499fc6b64b4e
[GFS2] Patch to detect corrupt number of dir entries in leaf and/or inode blocks

This patch detects when the number of entries in a leaf block or inode
block (in the case of stuffed directories) is corrupt and informs the
user. It prevents us from running off the end of the array thats been
allocated for the sorting in this case,

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/dir.c