SUNRPC: Fix Oopsable condition in rpc_pipefs
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 3 Dec 2005 20:20:10 +0000 (15:20 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 3 Dec 2005 20:20:10 +0000 (15:20 -0500)
commitbb184f3356adbbb1605df2f7c570b4c92231fa3a
treeb3f69a116b2f7f1cd78bbcb14203ea89dda6aeba
parent24aa1fe6779eaddb3e0b1b802585dcf6faf9cc44
SUNRPC: Fix Oopsable condition in rpc_pipefs

 The elements on rpci->in_upcall are tracked by the filp->private_data,
 which will ensure that they get released when the file is closed.

 The exception is if rpc_close_pipes() gets called first, since that
 sets rpci->ops to NULL.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c