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)
commit398c35f4d78410725e154c2fc0a51ecac05a3f1f
tree1303fa74972740edb13b918aced7addcac41c594
parent0bd5fdb811b0449fcef948a100099cc3197f1b73
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