SUNRPC: set per-net PipeFS superblock before notification
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 20 Apr 2012 14:19:56 +0000 (18:19 +0400)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 May 2012 13:23:01 +0000 (18:23 +0530)
commit54a9d2908d6459263f1294ecf59e8f0472282792
treebc058c721519079c346c2bd1ee5b26226a1f182e
parentc77337aa9f271ec16e6a1e5d50ee5db2bb07255e
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