NFS: Fix O_DIRECT locking issues
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Sep 2023 16:34:38 +0000 (12:34 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 13 Sep 2023 15:50:57 +0000 (11:50 -0400)
commit7c6339322ce0c6128acbe36aacc1eeb986dd7bf1
tree7b2d44b717f324b7b08cd2bbdefe19eea02930e1
parent954998b60caa8f2a3bf3abe490de6f08d283687a
NFS: Fix O_DIRECT locking issues

The dreq fields are protected by the dreq->lock.

Fixes: 954998b60caa ("NFS: Fix error handling for O_DIRECT write scheduling")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/direct.c