Whamcloud - gitweb
fuse2fs: fix removing ea inodes when freeing a file
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 May 2025 22:41:26 +0000 (15:41 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 23 May 2025 13:41:20 +0000 (09:41 -0400)
commit3045aed621117f6b1d206621dcf11470bf641984
treefcca54ae352012ab9a8fd478ef7895cdc9459e62
parent7607e348ab22fcf1381bb0b832c922a5fbe6337e
fuse2fs: fix removing ea inodes when freeing a file

If the filesystem has ea_inode set, then each file that has xattrs might
have stored an xattr value in a separate inode.  These inodes also need
to be freed, so create a library function to do that, and call it from
the fuse2fs unlink method.  Seen by ext4/026.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/174786677996.1383760.7408606469648643965.stgit@frogsfrogsfrogs
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/libext2fs2t64.symbols
lib/ext2fs/ext2fs.h
lib/ext2fs/ext_attr.c
misc/fuse2fs.c