fs/ntfs3: Do not change mode if ntfs_set_ea failed
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 12 May 2022 16:08:40 +0000 (19:08 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 3 Aug 2022 15:24:44 +0000 (18:24 +0300)
commit460bbf2990b3fdc597601c2cf669a3371c069242
tree011c9078b7b40b7466fa13a502c74851a0d49863
parent604a9d272dc3802d880e0510b9d145b1090b3f8a
fs/ntfs3: Do not change mode if ntfs_set_ea failed

ntfs_set_ea can fail with NOSPC, so we don't need to
change mode in this situation.
Fixes xfstest generic/449
Fixes: be71b5cba2e6 ("fs/ntfs3: Add attrib operations")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/xattr.c