https://github.com/torvalds/linux
Revision 7a01e707a324a4585949ca3df6c7f7485d8783f2 authored by Eric Sandeen on 19 February 2014, 04:33:05 UTC, committed by Dave Chinner on 19 February 2014, 04:33:05 UTC
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>


1 parent 3895e51
History
Tip revision: 7a01e707a324a4585949ca3df6c7f7485d8783f2 authored by Eric Sandeen on 19 February 2014, 04:33:05 UTC
xfs: xfs_sb_read_verify() doesn't flag bad crcs on primary sb
Tip revision: 7a01e70
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 266.4 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top