]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbb9acd8fe51d49f59803d3755f9863db37613dd
tree95dc30cc678e7fe4e21fa0f02793cb091a85fa91
parentb451e9bd775a5d89dfb685a5fcf474070ac10c34
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: 903fb7d91e5a ("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