]> www.infradead.org Git - users/hch/misc.git/commit
nfsd: use clear_and_wake_up_bit()
authorNeilBrown <neilb@suse.de>
Fri, 30 Aug 2024 07:03:16 +0000 (17:03 +1000)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 Sep 2024 23:31:03 +0000 (19:31 -0400)
commit985eeae9c874157bb8ece9060020856f68aa08d5
tree63682032b68c10cab3009c49c635913515ac8e00
parentaeddf8e6c5662d60d434ce59f7e08ea020162323
nfsd: use clear_and_wake_up_bit()

nfsd has two places that open-code clear_and_wake_up_bit().  One has
the required memory barriers.  The other does not.

Change both to use clear_and_wake_up_bit() so we have the barriers
without the noise.

Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c