commit | 3a748dfc1cc28878b5c0ffc1042c3efb3d26360e | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sun Aug 10 18:44:42 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Aug 10 18:44:42 2014 -0400 |
tree | 8fe2d376507806c38ebc8099f827bfa3a515b6b0 | |
parent | ef9c58d572de36f1786d32c93196a679294e3bc7 [diff] |
e2fsck: use the correct block size when salvaging directories Now that the directory salvaging operation is fed the block size, teach pass 2 that it should use the size of the inline data if the directory is inline_data. Without this, it'll "fix" inline directories by setting the rec_len to something approaching the FS blocksize, which is clearly wrong. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>