diff options
author | Christoph Hellwig <hch@lst.de> | 2009-06-08 09:33:21 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@brick.lst.de> | 2009-06-08 09:33:21 -0400 |
commit | 0c5e1ce89f1eacc366ec421c0f5f681159479c28 (patch) | |
tree | c73fb303fa25d58773ecb989c428041994933b92 /fs/xfs/linux-2.6/xfs_sync.c | |
parent | e1696834e8a15d7ef9ae8ffdffe00bac1399a2e3 (diff) |
xfs: validate quota log items during log recovery
Arkadiusz has seen really strange crashes in xfs_qm_dqcheck that
I can only explain by a log item being too smal to actually fit the
xfs_dqblk_t we're dereferencing all over xfs_qm_dqcheck. So add
graceful checks for NULL or too small quota items to the log recovery
code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.c')
0 files changed, 0 insertions, 0 deletions