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>
This commit is contained in:
Jeff Layton
2014-12-13 09:11:40 -05:00
committed by J. Bruce Fields
parent 49a068f82a
commit 67db103448
2 changed files with 5 additions and 5 deletions

View File

@@ -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;
};