diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2013-08-28 18:46:56 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-08-28 18:46:56 -0400 |
commit | bdfb6ff4a255dcebeb09a901250e13a97eff75af (patch) | |
tree | ae320a717aea5bf4f40d6e87816322ac7a79f3fb /Makefile | |
parent | 87a39389be3e3b007d341be510a7e4a0542bdf05 (diff) | |
download | linux-bdfb6ff4a255dcebeb09a901250e13a97eff75af.tar.gz linux-bdfb6ff4a255dcebeb09a901250e13a97eff75af.tar.bz2 linux-bdfb6ff4a255dcebeb09a901250e13a97eff75af.zip |
ext4: mark group corrupt on group descriptor checksum
If the group descriptor fails validation, mark the whole blockgroup
corrupt so that the inode/block allocators skip this group. The
previous approach takes the risk of writing to a damaged group
descriptor; hopefully it was never the case that the [ib]bitmap fields
pointed to another valid block and got dirtied, since the memset would
fill the page with 1s.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions