NFS: Use atomic bitops when changing struct nfs_delegation->flags
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h
index 8299c62..5e9f40e 100644
--- a/fs/nfs/delegation.h
+++ b/fs/nfs/delegation.h
@@ -18,10 +18,10 @@
struct inode *inode;
nfs4_stateid stateid;
int type;
-#define NFS_DELEGATION_NEED_RECLAIM 1
- long flags;
loff_t maxsize;
__u64 change_attr;
+#define NFS_DELEGATION_NEED_RECLAIM 0
+ unsigned long flags;
spinlock_t lock;
struct rcu_head rcu;
};