aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2009-01-22 15:37:47 +1100
committerFelix Blyakher <felixb@sgi.com>2009-02-03 10:19:33 -0600
commit3228149ceb8b045e324cd268be9182bb26e6488b (patch)
treebc394d1bd7b321fe3870a079b0d3bbda02154198 /fs/xfs/xfs_mount.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 (diff)
downloadlinux-dev-3228149ceb8b045e324cd268be9182bb26e6488b.tar.xz
linux-dev-3228149ceb8b045e324cd268be9182bb26e6488b.zip
xfs: Check buffer lengths in log recovery
Before trying to obtain, read or write a buffer, check that the buffer length is actually valid. If it is not valid, then something read in the recovery process has been corrupted and we should abort recovery. Reported-by: Eric Sesterhenn <snakebyte@gmx.de> Tested-by: Eric Sesterhenn <snakebyte@gmx.de> Reviewed-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Felix Blyakher <felixb@sgi.com> Signed-off-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions