diff options
author | 2024-03-01 11:49:56 -0500 | |
---|---|---|
committer | 2024-03-09 09:14:51 -0500 | |
commit | 094501358e7a165071673e754c3925683683057f (patch) | |
tree | 1b1b28334638d38f5b1f46439eb38ffae2b1b697 /scripts/generate_rust_analyzer.py | |
parent | NFS: enable nconnect for RDMA (diff) | |
download | linux-rng-094501358e7a165071673e754c3925683683057f.tar.xz linux-rng-094501358e7a165071673e754c3925683683057f.zip |
nfs: properly protect nfs_direct_req fields
We protect accesses to the nfs_direct_req fields with the dreq->lock
ever where except nfs_direct_commit_complete. This isn't a huge deal,
but it does lead to confusion, and we could potentially end up setting
NFS_ODIRECT_RESCHED_WRITES in one thread where we've had an error in
another. Clean this up to properly protect ->error and ->flags in the
commit completion path.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions