nfsd: fix a warning in __cld_pipe_upcall()
authorScott Mayhew <smayhew@redhat.com>
Tue, 6 Nov 2018 18:35:08 +0000 (13:35 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 28 Nov 2018 23:36:03 +0000 (18:36 -0500)
commitb493fd31c0b89d9453917e977002de58bebc3802
treed73173fc371f3f0f62e492137c3c496c5c19f0cf
parent62a063b8e7d1db684db3f207261a466fa3194e72
nfsd: fix a warning in __cld_pipe_upcall()

__cld_pipe_upcall() emits a "do not call blocking ops when
!TASK_RUNNING" warning due to the dput() call in rpc_queue_upcall().
Fix it by using a completion instead of hand coding the wait.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4recover.c