diff options
author | Zhang Xiaoxu <zhangxiaoxu5@huawei.com> | 2022-11-15 18:39:34 +0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-11-16 00:21:04 -0600 |
commit | 92bbd67a55fee50743b42825d1c016e7fd5c79f9 (patch) | |
tree | 2f26e1e6bf386d89495a003d2b6b353355c5f707 /fs/squashfs/squashfs_fs_sb.h | |
parent | d520de6cb42e88a1d008b54f935caf9fc05951da (diff) | |
download | linux-92bbd67a55fee50743b42825d1c016e7fd5c79f9.tar.gz |
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/squashfs/squashfs_fs_sb.h')
0 files changed, 0 insertions, 0 deletions