NFS: Do not report EINTR/ERESTARTSYS as mapping errors
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 14 May 2022 14:27:00 +0000 (10:27 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2022 16:01:59 +0000 (12:01 -0400)
commitcea9ba7239dcc84175041174304c6cdeae3226e5
tree92bb99949a985a4c348c864e039767a5a38a8476
parent42226c989789d8da4af1de0c31070c96726d990c
NFS: Do not report EINTR/ERESTARTSYS as mapping errors

If the attempt to flush data was interrupted due to a local signal, then
just requeue the writes back for I/O.

Fixes: 6fbda89b257f ("NFS: Replace custom error reporting mechanism with generic one")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c