diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2008-04-28 18:22:50 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-05-18 19:12:54 -0400 |
commit | b55e0ba19cd2d83317a7f1dbb626080951442ab3 (patch) | |
tree | a8d9ec9a80dd1b7cc0f8770042600c7494c4e270 /fs/nfsd | |
parent | b8291ad07a7f3b5b990900f0001198ac23ba893e (diff) | |
download | blackbird-op-linux-b55e0ba19cd2d83317a7f1dbb626080951442ab3.tar.gz blackbird-op-linux-b55e0ba19cd2d83317a7f1dbb626080951442ab3.zip |
nfsd: remove unnecessary atomic ops
These bit operations don't need to be atomic. They're all done under a
single big mutex anyway.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 8799b8708188..5c97d47676ae 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -1579,8 +1579,8 @@ nfs4_upgrade_open(struct svc_rqst *rqstp, struct svc_fh *cur_fh, struct nfs4_sta } /* remember the open */ filp->f_mode |= open->op_share_access; - set_bit(open->op_share_access, &stp->st_access_bmap); - set_bit(open->op_share_deny, &stp->st_deny_bmap); + __set_bit(open->op_share_access, &stp->st_access_bmap); + __set_bit(open->op_share_deny, &stp->st_deny_bmap); return nfs_ok; } |