]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Pass flags to ntfs_set_ea in ntfs_set_acl_ex
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 22 Sep 2021 15:33:38 +0000 (18:33 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 24 Sep 2021 14:39:57 +0000 (17:39 +0300)
commit3819c99ccd6195f77bbd6c888863247669937b49
tree1303fa74972740edb13b918aced7addcac41c594
parent94faa695ea413737b9f529b4e51d144fa46c7540
fs/ntfs3: Pass flags to ntfs_set_ea in ntfs_set_acl_ex

In case of removing of xattr there must be XATTR_REPLACE flag and
zero length. We already check XATTR_REPLACE in ntfs_set_ea, so
now we pass XATTR_REPLACE to ntfs_set_ea.

Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/xattr.c