path: root/security
diff options
authorJosef Bacik <josef@redhat.com>2012-04-16 09:42:26 -0400
committerDavid Sterba <dsterba@suse.cz>2012-04-18 19:22:30 +0200
commit5cf1ab56133ad7b712673c071b439d4a555a2d1e (patch)
treec7b301296750707f47487f508398f1baec81f48b /security
parent48d282326b3ce5f435835f5fb0e3231c399f4f9a (diff)
Btrfs: always store the mirror we read the eb from
A user reported a panic where we were trying to fix a bad mirror but the mirror number we were giving was 0, which is invalid. This is because we don't do the transid verification until after the read, so as far as the read code is concerned the read was a success. So instead store the mirror we read from so that if there is some failure post read we know which mirror to try next and which mirror needs to be fixed if we find a good copy of the block. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions