fs/ntfs3: In function ntfs_set_acl_ex do not change inode->i_mode if called from...
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 24 Nov 2021 12:08:19 +0000 (15:08 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 24 Nov 2021 12:13:09 +0000 (15:13 +0300)
commit9186d472ee780fabf74424756c4c00545166157e
tree95dc30cc678e7fe4e21fa0f02793cb091a85fa91
parent3a2154b25a9f461a1848371b3e8f6f316434ae1f
fs/ntfs3: In function ntfs_set_acl_ex do not change inode->i_mode if called from function ntfs_init_acl

ntfs_init_acl sets mode. ntfs_init_acl calls ntfs_set_acl_ex.
ntfs_set_acl_ex must not change this mode.
Fixes xfstest generic/444
Fixes: be71b5cba2e6 ("fs/ntfs3: Add attrib operations")
Reviewed-by: Joe Perches <joe@perches.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/xattr.c