aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2013-08-28 22:46:56 +0000
committerTheodore Ts'o <[email protected]>2013-08-28 22:46:56 +0000
commitbdfb6ff4a255dcebeb09a901250e13a97eff75af (patch)
treeae320a717aea5bf4f40d6e87816322ac7a79f3fb /net/unix/af_unix.c
parentext4: mark block group as corrupt on inode bitmap error (diff)
downloadkernel-bdfb6ff4a255dcebeb09a901250e13a97eff75af.tar.gz
kernel-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 <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions