Whamcloud - gitweb
mke2fs: fix a importing a directory with an ACL and inline data
authorTheodore Ts'o <tytso@mit.edu>
Tue, 9 Feb 2021 22:11:23 +0000 (17:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 9 Feb 2021 22:11:23 +0000 (17:11 -0500)
commit67e6ae0a354057bdc2639896893196bea7a2f822
treead5339366ae56de85067f48476efe891fd95cab8
parentb637c57d122f1694275fcd8974e68f7784b5c832
mke2fs: fix a importing a directory with an ACL and inline data

If an inode which is copied into a file system using "mke2fs -d" has
an ACL (or extended attributes) and it is also using inline data, when
the extended attribute(s) are copied in, the inline data gets dropped due to a missing call to ext2fs_xattrs_read().

Addresses-Debian-Bug: #971014
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/create_inode.c
tests/m_rootdir_acl/expect [new file with mode: 0644]
tests/m_rootdir_acl/output.sed [new file with mode: 0644]
tests/m_rootdir_acl/script [new file with mode: 0644]