https://github.com/torvalds/linux
Revision e67afa7ee4a59584d7253e45d7f63b9528819a13 authored by Zhang Xiaoxu on 26 May 2021, 03:32:35 UTC, committed by Trond Myklebust on 27 May 2021, 12:46:19 UTC
Since commit bdcc2cd14e4e ("NFSv4.2: handle NFS-specific llseek errors"),
nfs42_proc_llseek would return -EOPNOTSUPP rather than -ENOTSUPP when
SEEK_DATA on NFSv4.0/v4.1.

This will lead xfstests generic/285 not run on NFSv4.0/v4.1 when set the
CONFIG_NFS_V4_2, rather than run failed.

Fixes: bdcc2cd14e4e ("NFSv4.2: handle NFS-specific llseek errors")
Cc: <stable.vger.kernel.org> # 4.2
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
1 parent 70536bf
History
Tip revision: e67afa7ee4a59584d7253e45d7f63b9528819a13 authored by Zhang Xiaoxu on 26 May 2021, 03:32:35 UTC
NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config
Tip revision: e67afa7
File Mode Size
policy
.gitignore -rw-r--r-- 71 bytes
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 810 bytes
audit.c -rw-r--r-- 12.4 KB
common.c -rw-r--r-- 76.0 KB
common.h -rw-r--r-- 40.3 KB
condition.c -rw-r--r-- 27.1 KB
domain.c -rw-r--r-- 25.3 KB
environ.c -rw-r--r-- 3.1 KB
file.c -rw-r--r-- 29.2 KB
gc.c -rw-r--r-- 16.6 KB
group.c -rw-r--r-- 5.8 KB
load_policy.c -rw-r--r-- 2.6 KB
memory.c -rw-r--r-- 5.4 KB
mount.c -rw-r--r-- 6.7 KB
network.c -rw-r--r-- 21.5 KB
realpath.c -rw-r--r-- 7.3 KB
securityfs_if.c -rw-r--r-- 7.3 KB
tomoyo.c -rw-r--r-- 15.6 KB
util.c -rw-r--r-- 27.6 KB

back to top