OSDN Git Service

nfsd: fix locking validator warning on nfs4_ol_stateid->st_mutex class
authorAndrew Elble <aweits@rit.edu>
Wed, 8 Nov 2017 22:29:51 +0000 (17:29 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 27 Nov 2017 21:45:10 +0000 (16:45 -0500)
commit4f34bd0540d290d1fe1bc699550025623b2761ef
treefc08c2b728cf088df3945fcfbd05ef75059151b7
parente919b0765287f36f7e9c84aed785eddfbbd98dfa
nfsd: fix locking validator warning on nfs4_ol_stateid->st_mutex class

The use of the st_mutex has been confusing the validator. Use the
proper nested notation so as to not produce warnings.

Signed-off-by: Andrew Elble <aweits@rit.edu>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c