diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-10 19:26:49 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-28 22:03:04 +0200 |
commit | 795a88c968eef031f370973512b42124bacb2f17 (patch) | |
tree | 4a75a204bea7b2ada2155038d7f8aa19d444fc2d /fs/nfs/nfs4_fs.h | |
parent | NFS: Clean up helper function nfs4_select_rw_stateid() (diff) | |
download | linux-795a88c968eef031f370973512b42124bacb2f17.tar.xz linux-795a88c968eef031f370973512b42124bacb2f17.zip |
NFSv4: Convert the nfs4_lock_state->ls_flags to a bit field
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index d95e25ec3574..71d407fd00a5 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -132,8 +132,8 @@ struct nfs4_lock_owner { struct nfs4_lock_state { struct list_head ls_locks; /* Other lock stateids */ struct nfs4_state * ls_state; /* Pointer to open state */ -#define NFS_LOCK_INITIALIZED 1 - int ls_flags; +#define NFS_LOCK_INITIALIZED 0 + unsigned long ls_flags; struct nfs_seqid_counter ls_seqid; nfs4_stateid ls_stateid; atomic_t ls_count; |