mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-04 00:03:25 -04:00
NFS: ENOMEM should also be a fatal error.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
parent
7dc58ca5d8
commit
2dc23afffb
1 changed files with 1 additions and 0 deletions
|
@ -764,6 +764,7 @@ static inline bool nfs_error_is_fatal(int err)
|
||||||
case -EROFS:
|
case -EROFS:
|
||||||
case -ESTALE:
|
case -ESTALE:
|
||||||
case -E2BIG:
|
case -E2BIG:
|
||||||
|
case -ENOMEM:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue