projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b78d91
)
nfsd: don't open-code clear_and_wake_up_bit
author
Jeff Layton
<jlayton@kernel.org>
Thu, 5 Jan 2023 12:15:09 +0000
(07:15 -0500)
committer
Chuck Lever
<chuck.lever@oracle.com>
Wed, 26 Apr 2023 13:04:58 +0000
(09:04 -0400)
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/filecache.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/filecache.c
b/fs/nfsd/filecache.c
index 6e8712bd7c9982801700c2f0e59083b43a8ffbb9..5b5d39ec7b0104562cb202f5acbea1725a9a04e2 100644
(file)
--- a/
fs/nfsd/filecache.c
+++ b/
fs/nfsd/filecache.c
@@
-1174,9
+1174,7
@@
open_file:
status = nfserr_jukebox;
if (status != nfs_ok)
nfsd_file_unhash(nf);
- clear_bit_unlock(NFSD_FILE_PENDING, &nf->nf_flags);
- smp_mb__after_atomic();
- wake_up_bit(&nf->nf_flags, NFSD_FILE_PENDING);
+ clear_and_wake_up_bit(NFSD_FILE_PENDING, &nf->nf_flags);
goto out;
}