summaryrefslogtreecommitdiffstats
path: root/crypto/sha512_generic.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2023-08-19 23:22:14 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2023-08-24 19:24:15 +0200
commit88975a55969e11f26fe3846bf4fbf8e7dc8cbbd4 (patch)
treed17556471437b197a82c25faddd945cdae923677 /crypto/sha512_generic.c
parentnfs: fix redundant readdir request after get eof (diff)
downloadlinux-88975a55969e11f26fe3846bf4fbf8e7dc8cbbd4.tar.xz
linux-88975a55969e11f26fe3846bf4fbf8e7dc8cbbd4.zip
NFS: Fix a potential data corruption
We must ensure that the subrequests are joined back into the head before we can retransmit a request. If the head was not on the commit lists, because the server wrote it synchronously, we still need to add it back to the retransmission list. Add a call that mirrors the effect of nfs_cancel_remove_inode() for O_DIRECT. Fixes: ed5d588fe47f ("NFS: Try to join page groups before an O_DIRECT retransmission") Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions