commit | a433db04d054a4c949c816b28cfa9952b35e0b0a | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue May 05 10:46:06 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue May 05 10:46:06 2015 -0400 |
tree | c7d474e95e781d4990e7cce7c020d66681762841 | |
parent | 08b7417b63e3ddcaf625d7c9bba70f67dc7091f3 [diff] |
copy-in: create hardlinks with the correct directory filetype When we're creating hard links via ext2fs_link, the (misnamed?) flags argument specifies the filetype for the directory entry. This is *derived* from i_mode, so provide a translator. Otherwise, fsck will complain about unset file types. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>