Zhang Xiaoxu d7bbdb3ae4 cifs: Fix wrong return value checking when GETFLAGS
[ Upstream commit 92bbd67a55fee50743b42825d1c016e7fd5c79f9 ]

The return value of CIFSGetExtAttr is negative, should be checked
with -EOPNOTSUPP rather than EOPNOTSUPP.

Fixes: 64a5cfa6db94 ("Allow setting per-file compression via SMB2/3")
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-25 17:35:40 +01:00
..
2020-01-29 10:24:34 +01:00
2016-10-15 12:09:13 -07:00
2019-08-06 18:29:38 +02:00
2022-08-25 11:09:24 +02:00
2019-03-13 14:04:52 -07:00
2018-12-21 14:11:31 +01:00
2018-02-17 13:21:15 +01:00
2021-12-14 10:04:48 +01:00
2017-06-14 15:06:01 +02:00