diff options
author | Steve Dickson <steved@redhat.com> | 2011-09-20 12:52:46 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-09-20 13:30:05 -0400 |
commit | 5c3e26650a54af7826a2b4c6759b56681a350c37 (patch) | |
tree | 19e2e3c00d019511cda3a923e5f1b21bab859b80 /support | |
parent | fe34ff0312c7c22554087ecd78bbbeadb38ce195 (diff) | |
download | nfs-utils-5c3e26650a54af7826a2b4c6759b56681a350c37.tar.gz nfs-utils-5c3e26650a54af7826a2b4c6759b56681a350c37.tar.xz nfs-utils-5c3e26650a54af7826a2b4c6759b56681a350c37.zip |
statd: Decouple statd's state directory from the NFS state directory
To allow greater flexibility to where statd's state is kept,
statd's state path can now be decoupled from the normal
NFS state directory.
In configure.ac, the NSM_DEFAULT_STATEDIR definition will now define
the path to where the state information is kept. The default
value, /var/lib/nfs, can be redefined with the --with-statdpath
flag.
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/nsm/file.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/support/nsm/file.c b/support/nsm/file.c index a12c753..5dd52c1 100644 --- a/support/nsm/file.c +++ b/support/nsm/file.c @@ -94,14 +94,6 @@ #define NSM_KERNEL_STATE_FILE "/proc/sys/fs/nfs/nsm_local_state" -/* - * Some distributions place statd's files in a subdirectory - */ -#define NSM_PATH_EXTENSION -/* #define NSM_PATH_EXTENSION "/statd" */ - -#define NSM_DEFAULT_STATEDIR NFS_STATEDIR NSM_PATH_EXTENSION - static char nsm_base_dirname[PATH_MAX] = NSM_DEFAULT_STATEDIR; #define NSM_MONITOR_DIR "sm" |