]> 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)
commit70da15291c68a4c01c566a356955fb8cf7f7a1ae
tree4b46222d26f3e74d65c6741ddcaed7eaa48948eb
parentf3d62e9bca6838595ab598dbf301151e22269e45
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