SUNRPC: set per-net PipeFS superblock before notification
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 20 Apr 2012 14:19:56 +0000 (18:19 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Apr 2012 18:10:00 +0000 (14:10 -0400)
commit37629b572cc4e80fc24b4139a24df1a89415d534
tree49d77495315e93ad187467837779f88073c37f15
parent7aab449e5a2ebfa9c5116e87e16536bc4195e4de
SUNRPC: set per-net PipeFS superblock before notification

There can be a case, when on MOUNT event RPC client (after it's dentries were
created) is not longer hold by anyone except notification callback.
I.e. on release this client will be destoroyed. And it's dentries have to be
destroyed as well. Which in turn requires per-net PipeFS superblock to be set.

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