Whamcloud - gitweb
e2fsck: make sure system.data xattr is present
authorTheodore Ts'o <tytso@mit.edu>
Tue, 31 Jan 2017 19:05:45 +0000 (14:05 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 31 Jan 2017 19:05:45 +0000 (14:05 -0500)
commit47b8941774df6bc134efd6d6051af33391fa3078
tree1e91745ba2efe351dc3f7c275e44ec70f6c65ac8
parent05cecaf49b96ae0c684a4d4fc90c157bad2f2b35
e2fsck: make sure system.data xattr is present

E2fsprogs used to assume that if i_size is less than 60 bytes, the
system.data xattr isn't needed (and should be removed).  The kernel
disagree, and will declare the file system to be corrupted.  Enforce
the tighter constraints assumed by the kernel.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
lib/ext2fs/inline_data.c
tests/f_write_ea_no_extra_isize/expect.1
tests/f_write_ea_no_extra_isize/expect.2
tests/f_write_ea_toobig_extra_isize/expect.1
tests/f_write_ea_toobig_extra_isize/expect.2
tests/f_write_ea_toosmall_extra_isize/expect.1
tests/f_write_ea_toosmall_extra_isize/expect.2
util/gen-sample-fs [changed mode: 0644->0755]