sunrpc: Create per-rpc_clnt sysfs kobjects
These will eventually have files placed under them for sysfs operations. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
committed by
Trond Myklebust
parent
c441f125de
commit
c5a382ebdb
@@ -5,7 +5,15 @@
|
||||
#ifndef __SUNRPC_SYSFS_H
|
||||
#define __SUNRPC_SYSFS_H
|
||||
|
||||
struct rpc_sysfs_client {
|
||||
struct kobject kobject;
|
||||
struct net *net;
|
||||
};
|
||||
|
||||
int rpc_sysfs_init(void);
|
||||
void rpc_sysfs_exit(void);
|
||||
|
||||
void rpc_sysfs_client_setup(struct rpc_clnt *clnt, struct net *net);
|
||||
void rpc_sysfs_client_destroy(struct rpc_clnt *clnt);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user