]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
db: verify and calculate dquot CRCs
authorDave Chinner <david@fromorbit.com>
Wed, 13 Nov 2013 06:40:48 +0000 (06:40 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 13 Nov 2013 17:14:03 +0000 (11:14 -0600)
commit66a40d020d7abb6fe09693f4392b6af2b30aa3b3
tree8c4b7288278faf2e6da1a4b6bcf82351ca364b62
parenta73b88f29a82a21ef6f50298d2d14ae1d91b321d
db: verify and calculate dquot CRCs

When we set the current Io cursor to point at a dquot block, verify
that the dquot CRC is intact. And prior to writing such an IO
cursor, calculate the dquot CRC.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
db/io.c
db/io.h