commit | d7bbdb3ae4d63166a0a9fd4d12467ed29dbf4c05 | [log] [tgz] |
---|---|---|
author | Zhang Xiaoxu <zhangxiaoxu5@huawei.com> | Tue Nov 15 18:39:34 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Nov 25 17:35:40 2022 +0100 |
tree | b325ed822e716f6cc253047a627e25e7f00433b1 | |
parent | fda0ba7c84b46d10947c687320804b9de149a921 [diff] |
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>