]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe4cc923021c5bef6e3f5c97cd7fc7d40abac058
tree4b46222d26f3e74d65c6741ddcaed7eaa48948eb
parentf19d873c986ac2485fd9f9bf4569a029f65184df
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