Whamcloud - gitweb
pass1b.c (clone_file_block): Fix bugs when cloning extended attribute
authorTheodore Ts'o <tytso@mit.edu>
Sat, 7 Jul 2001 17:20:34 +0000 (13:20 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 7 Jul 2001 17:20:34 +0000 (13:20 -0400)
commit7abb2bdcd6c3787eafdff77bf53050f995f35054
treec8eda4b75cbc84dc83ecb120e3df94ea1379521d
parente8a3ee628ad693cbae231089b18886e6ba0e59d3
pass1b.c (clone_file_block): Fix bugs when cloning extended attribute
blocks.  Moved free of block_buf to after the code which clones the
extattr block, and fixed logic for changing pointers to the extended
attribute field in the inodes which were affected.

(decrement_badcount): New function which is used whenever we need to
decrement the number of files which claim a particular bad block.
Fixed bug where delete_file wasn't checking check_if_fs_block() before
clearing the entry in block_dup_map.  This could cause a block which
was claimed by multiple files as well as the filesystem metadata to
not be completely fixed.
e2fsck/ChangeLog
e2fsck/pass1b.c