projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8291ad
)
nfsd: remove unnecessary atomic ops
author
J. Bruce Fields
<bfields@citi.umich.edu>
Mon, 28 Apr 2008 22:22:50 +0000
(18:22 -0400)
committer
J. Bruce Fields
<bfields@citi.umich.edu>
Sun, 18 May 2008 23:12:54 +0000
(19:12 -0400)
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>
fs/nfsd/nfs4state.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index 8799b8708188a3acf901f1d09b8e773865d139c5..5c97d47676ae14a0e8635a094573d559f79d3ddc 100644
(file)
--- 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;
}