From: Eric Sandeen Date: Wed, 19 Feb 2014 04:33:05 +0000 (+1100) Subject: xfs: xfs_sb_read_verify() doesn't flag bad crcs on primary sb X-Git-Tag: v3.14-rc4~13^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a01e707a324a4585949ca3df6c7f7485d8783f2;p=pandora-kernel.git 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 Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed