+9
−3
Loading
mainline inclusion from mainline-v5.9-rc1 commit ce368536 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IACBGS Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ce368536dd614452407dc31e2449eb84681a06af -------------------------------- The NFS_CONTEXT_ERROR_WRITE flag (as well as the check of said flag) was removed by commit 6fbda89b. The absence of an error check allows writes to be continually queued up for a server that may no longer be able to handle them. Fix it by adding an error check using the generic error reporting functions. Fixes: 6fbda89b ("NFS: Replace custom error reporting mechanism with generic one") Signed-off-by:Scott Mayhew <smayhew@redhat.com> Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
Wang Zhaolong <wangzhaolong1@huawei.com>