fs/ntfs3: Use strcmp to determine attribute type
authorYuan Can <yuancan@huawei.com>
Sat, 24 Sep 2022 06:32:04 +0000 (06:32 +0000)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 30 Sep 2022 14:39:55 +0000 (17:39 +0300)
commitd45da67caedacd500879de5e649360cc70777af7
tree8df0df7aebb7e8554e5adc28c55715998adc0fcf
parent887bfc546097fbe8071dac13b2fef73b77920899
fs/ntfs3: Use strcmp to determine attribute type

The way of determin attribute type is just matching
name with the predefined string, do this with strcmp
to simplify the code.

Signed-off-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/xattr.c