mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 08:40:53 +07:00
7e44d3bea2
Introduce a new data type, used by both the in-kernel NLM and NSM implementations, that is used to manage the opaque "priv" argument for the NSMPROC_MON and NLMPROC_SM_NOTIFY calls. Construct the "priv" cookie when the nsm_handle is created. The nsm_init_private() function may look a little strange, but it is roughly equivalent to how the XDR encoder formed the "priv" argument. It's going to go away soon. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
17 lines
308 B
C
17 lines
308 B
C
/*
|
|
* linux/include/linux/lockd/sm_inter.h
|
|
*
|
|
* Declarations for the kernel statd client.
|
|
*
|
|
* Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
|
|
*/
|
|
|
|
#ifndef LINUX_LOCKD_SM_INTER_H
|
|
#define LINUX_LOCKD_SM_INTER_H
|
|
|
|
#define SM_MAXSTRLEN 1024
|
|
|
|
extern int nsm_local_state;
|
|
|
|
#endif /* LINUX_LOCKD_SM_INTER_H */
|