linux-stable/fs/ntfs3
Christian Brauner 81fb3ee298 ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers
[ Upstream commit a26aa12384 ]

The xattr code in ntfs3 is currently a bit confused. For example, it
defines a POSIX ACL i_op->set_acl() method but instead of relying on the
generic POSIX ACL VFS helpers it defines its own set of xattr helpers
with the consequence that i_op->set_acl() is currently dead code.

Switch ntfs3 to rely on the VFS POSIX ACL xattr handlers. Also remove
i_op->{g,s}et_acl() methods from symlink inode operations. Symlinks
don't support xattrs.

This is a preliminary change for the following patches which move
handling idmapped mounts directly in posix_acl_xattr_set().

This survives POSIX ACL xfstests.

Fixes: be71b5cba2 ("fs/ntfs3: Add attrib operations")
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Reviewed-by: Seth Forshee (DigitalOcean) <sforshee@kernel.org>>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 12:34:36 +02:00
..
lib
attrib.c
attrlist.c
bitfunc.c
bitmap.c
debug.h
dir.c
file.c fs/ntfs3: Check new size for limits 2022-06-09 10:22:28 +02:00
frecord.c fs/ntfs3: Fix fiemap + fix shrink file size (to remove preallocated space) 2022-06-09 10:22:28 +02:00
fslog.c fs/ntfs3: Don't clear upper bits accidentally in log_replay() 2022-08-25 11:40:17 +02:00
fsntfs.c fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr 2022-08-25 11:40:16 +02:00
index.c fs/ntfs3: Fix using uninitialized value n when calling indx_read 2022-08-25 11:40:16 +02:00
inode.c ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers 2022-10-26 12:34:36 +02:00
Kconfig
lznt.c
Makefile
namei.c
ntfs.h
ntfs_fs.h Fixed xfstests generic/016 generic/021 generic/022 generic/041 generic/274 generic/423, 2021-10-15 09:58:11 -04:00
record.c
run.c
super.c fs/ntfs3: Fix double free on remount 2022-08-25 11:40:17 +02:00
upcase.c
xattr.c ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers 2022-10-26 12:34:36 +02:00