]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e7cdf5bb1311203387e159c7fb6b13e98b23991
treeb3f69a116b2f7f1cd78bbcb14203ea89dda6aeba
parent76ad678e277ce7fe1a0f12c6e40d1d72ed876924
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