diff options
author | Eric Sandeen | 2014-02-19 15:33:05 +1100 |
---|---|---|
committer | Dave Chinner | 2014-02-19 15:33:05 +1100 |
commit | 7a01e707a324a4585949ca3df6c7f7485d8783f2 (patch) | |
tree | b784f7fc887dce702068e0031cc586ea1a19bb27 /tools/virtio | |
parent | 3895e51f6dbf6610519be070a3bede811f6ac4fb (diff) |
xfs: xfs_sb_read_verify() doesn't flag bad crcs on primary sb
My earlier commit 10e6e65 deserves a layer or two of brown paper
bags. The logic in that commit means that a CRC failure on the
primary superblock will *never* result in an error return.
Hopefully this fixes it, so that we always return the error
if it's a primary superblock, otherwise only if the filesystem
has CRCs enabled.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions