diff options
author | Zhang Xiaoxu <zhangxiaoxu5@huawei.com> | 2021-05-26 06:32:35 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-05-27 15:46:19 +0300 |
commit | e67afa7ee4a59584d7253e45d7f63b9528819a13 (patch) | |
tree | 26563b7835f8d79f830e9584eeee234f97e44bf7 /net | |
parent | 70536bf4eb07ed5d2816ccb274e5e6b41b95a437 (diff) | |
download | linux-e67afa7ee4a59584d7253e45d7f63b9528819a13.tar.xz |
NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions