rpc_pipefs: allow rpc_purge_list to take a NULL waitq pointer
authorJeff Layton <jlayton@redhat.com>
Mon, 11 Jun 2012 14:03:42 +0000 (10:03 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 11 Jun 2012 21:27:07 +0000 (17:27 -0400)
commit92123e068efa310b09e9943ac1cfd10ff6b6d2e4
tree44585ac8bad427707d268e682298a0cb74e7f6d9
parent2669940db8d02147181e338bb6db98394569f31a
rpc_pipefs: allow rpc_purge_list to take a NULL waitq pointer

In the event that we don't have a dentry for a rpc_pipefs pipe, we still
need to allow the queue_timeout job to clean out the queue. There's just
no waitq to wake up in that event.

Cc: stable@kernel.org
Reported-by: Hans de Bruin <jmdebruin@xmsnet.nl>
Reported-by: Joerg Platte <jplatte@naasa.net>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c