NFS: Fix sparse annotations for nfs_set_open_stateid_locked()
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
parent
302fad7bd5
commit
e9acf2105f
@ -1555,6 +1555,10 @@ static void nfs_clear_open_stateid(struct nfs4_state *state,
|
|||||||
|
|
||||||
static void nfs_set_open_stateid_locked(struct nfs4_state *state,
|
static void nfs_set_open_stateid_locked(struct nfs4_state *state,
|
||||||
const nfs4_stateid *stateid, nfs4_stateid *freeme)
|
const nfs4_stateid *stateid, nfs4_stateid *freeme)
|
||||||
|
__must_hold(&state->owner->so_lock)
|
||||||
|
__must_hold(&state->seqlock)
|
||||||
|
__must_hold(RCU)
|
||||||
|
|
||||||
{
|
{
|
||||||
DEFINE_WAIT(wait);
|
DEFINE_WAIT(wait);
|
||||||
int status = 0;
|
int status = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user