SUNRPC: One more clean up for rpc_create_client_dir()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:14:26 +0000 (15:14 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:14:26 +0000 (15:14 -0400)
commite57aed77ad48d28ac617ba157ad2f665f5301b30
tree4ce30150c3f4b1520842f7e02fa78f4bf9bbc53c
parent23ac6581702ac6d029643328a7e6ea3baf834c5e
SUNRPC: One more clean up for rpc_create_client_dir()

In order to allow rpc_pipefs to create directories with different types of
subtrees, it is useful to allow the caller to customise the subtree filling
process.
In order to do so, we separate out the parts which are specific to making
an RPC client directory, and put them in a separate helper, then we convert
the process of filling the directory contents into a callback.

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