summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_quota.h
diff options
context:
space:
mode:
authorChristoph Hellwig2009-06-08 15:33:21 +0200
committerChristoph Hellwig2009-06-08 15:33:21 +0200
commit0c5e1ce89f1eacc366ec421c0f5f681159479c28 (patch)
treec73fb303fa25d58773ecb989c428041994933b92 /fs/xfs/xfs_quota.h
parentxfs: update max log size (diff)
downloadkernel-qcow2-linux-0c5e1ce89f1eacc366ec421c0f5f681159479c28.tar.gz
kernel-qcow2-linux-0c5e1ce89f1eacc366ec421c0f5f681159479c28.tar.xz
kernel-qcow2-linux-0c5e1ce89f1eacc366ec421c0f5f681159479c28.zip
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/xfs_quota.h')
0 files changed, 0 insertions, 0 deletions