summaryrefslogtreecommitdiff
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-08-02 00:04:12 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-08-15 18:54:48 +0300
commit5cb953d4b1e70a09084f71594c45d47458346bc2 (patch)
treeddf200fdc3ee14e0a315eb0619c2c8571e662636 /include/linux/nfs_xdr.h
parenta6b6d5b85abf4914bbceade5dddd54c345c64136 (diff)
downloadlinux-5cb953d4b1e70a09084f71594c45d47458346bc2.tar.xz
NFS: Use an atomic_long_t to count the number of commits
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 62cbcb842f99..164d5359d4ab 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1476,7 +1476,7 @@ struct nfs_pgio_header {
struct nfs_mds_commit_info {
atomic_t rpcs_out;
- unsigned long ncommit;
+ atomic_long_t ncommit;
struct list_head list;
};