diff options
author | Zhang Xiaoxu <zhangxiaoxu5@huawei.com> | 2022-11-15 11:39:34 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-11-16 07:21:04 +0100 |
commit | 92bbd67a55fee50743b42825d1c016e7fd5c79f9 (patch) | |
tree | 2f26e1e6bf386d89495a003d2b6b353355c5f707 /fs/cifs/Kconfig | |
parent | cifs: add check for returning value of SMB2_close_init (diff) | |
download | linux-92bbd67a55fee50743b42825d1c016e7fd5c79f9.tar.xz linux-92bbd67a55fee50743b42825d1c016e7fd5c79f9.zip |
cifs: Fix wrong return value checking when GETFLAGS
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>
Diffstat (limited to 'fs/cifs/Kconfig')
0 files changed, 0 insertions, 0 deletions