diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-01-22 20:01:16 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-02-20 21:14:21 +0100 |
commit | e9acf2105fdba95953e786612243a4a3a1d0b166 (patch) | |
tree | 2c342d307bb4c05184831dfe8cb9fec76239c167 /fs/nfs/nfs4proc.c | |
parent | NFS: Fix up documentation warnings (diff) | |
download | linux-e9acf2105fdba95953e786612243a4a3a1d0b166.tar.xz linux-e9acf2105fdba95953e786612243a4a3a1d0b166.zip |
NFS: Fix sparse annotations for nfs_set_open_stateid_locked()
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfs/nfs4proc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index e8e12faa8604..1dbdc85e6885 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -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, const nfs4_stateid *stateid, nfs4_stateid *freeme) + __must_hold(&state->owner->so_lock) + __must_hold(&state->seqlock) + __must_hold(RCU) + { DEFINE_WAIT(wait); int status = 0; |