diff options
author | Trond Myklebust | 2018-09-25 12:34:43 -0400 |
---|---|---|
committer | Trond Myklebust | 2018-09-30 15:35:17 -0400 |
commit | 1c6c4b740df12f2162ae5c3fac337137e2776236 (patch) | |
tree | b740c2831b45eeec44849faa86e8d839671846ee /include/linux/nfs_xdr.h | |
parent | 28d52235ee25ba7d843242b4cb3c3f27a8828b5a (diff) |
NFS: Remove private spinlock in struct nfs_pgio_header
Now that each struct nfs_pgio_header corresponds to one RPC call, we
only have one writer to the struct nfs_pgio_header.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 343e44166346..0e016252cfc6 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1482,11 +1482,10 @@ struct nfs_pgio_header { const struct nfs_rw_ops *rw_ops; struct nfs_io_completion *io_completion; struct nfs_direct_req *dreq; - spinlock_t lock; - /* fields protected by lock */ + int pnfs_error; int error; /* merge with pnfs_error */ - unsigned long good_bytes; /* boundary of good data */ + unsigned int good_bytes; /* boundary of good data */ unsigned long flags; /* |