]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/delegation.h
NFS: Use atomic bitops when changing struct nfs_delegation->flags
[linux-2.6-omap-h63xx.git] / fs / nfs / delegation.h
index 8299c6220e953b6a144ee2d21b4d3d602ab2fb39..5e9f40e0a7d81f0e1a9708e095e363df6718d359 100644 (file)
@@ -18,10 +18,10 @@ struct nfs_delegation {
        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;
 };