]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/xfs/xfs_qm.c
xfs: add CRC checks for quota blocks
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Apr 2013 05:11:16 +0000 (16:11 +1100)
committerBen Myers <bpm@sgi.com>
Sun, 21 Apr 2013 19:58:22 +0000 (14:58 -0500)
commit3fe58f30b4fc3f8a9084b035a02bc0c67bee8d00
tree4b46222d26f3e74d65c6741ddcaed7eaa48948eb
parent983d09ffe396ed5d5339a1b9ff994dd0b0f2069f
xfs: add CRC checks for quota blocks

Use the reserved space in struct xfs_dqblk to store a UUID and a crc
for the quota blocks.

[dchinner@redhat.com] Add a LSN field and update for current verifier
infrastructure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_qm.h
fs/xfs/xfs_quota.h