diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-12-13 09:11:40 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-01-07 14:05:35 -0500 |
commit | 67db10344816c74709271c30905bb83781e7050c (patch) | |
tree | 7f69fb33e8f0b6c2cdc775b8e6aecd04d426c44c /fs/nfsd/state.h | |
parent | 49a068f82a1d30eb585d7804b05948376be6cf9a (diff) | |
download | linux-67db10344816c74709271c30905bb83781e7050c.tar.bz2 |
nfsd: fi_delegees doesn't need to be an atomic_t
fi_delegees is always handled under the fi_lock, so there's no need to
use an atomic_t for this field.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 9d3be371240a..dab6553ceea1 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -493,7 +493,7 @@ struct nfs4_file { atomic_t fi_access[2]; u32 fi_share_deny; struct file *fi_deleg_file; - atomic_t fi_delegees; + int fi_delegees; struct knfsd_fh fi_fhandle; bool fi_had_conflict; }; |