Skip to content

Commit

Permalink
add_inode: only show EA warnings if not recognized
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Oct 6, 2021
1 parent c3a7061 commit 921bbe5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ntfs2btrfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2273,8 +2273,13 @@ static void add_inode(root& r, uint64_t inode, uint64_t ntfs_inode, bool& is_dir
if (links.empty())
return; // don't create orphaned inodes

// FIXME - form user.EA xattr from EAs we don't recognize

for (const auto& ea : eas) {
add_warning("FIXME - EA {}", ea.first);
const auto& n = ea.first;

if (n != "$KERNEL.PURGE.APPXFICACHE" && n != "$KERNEL.PURGE.ESBCACHE" && n != "$CI.CATALOGHINT")
add_warning("Unrecognized EA {}", ea.first);
}

if (!wof_mappings.empty()) {
Expand Down

0 comments on commit 921bbe5

Please sign in to comment.