diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2015-05-21 15:31:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 10:50:19 +0900 |
commit | 0f53c823f9664683ce1aadab2d6a4cee950d6f62 (patch) | |
tree | 55aa87f30a94823973df616e7b2447e6a373a320 /drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | |
parent | 18fd8850a4c8177ecf4870ff38c208d329a21ed0 (diff) | |
download | op-kernel-dev-0f53c823f9664683ce1aadab2d6a4cee950d6f62.zip op-kernel-dev-0f53c823f9664683ce1aadab2d6a4cee950d6f62.tar.gz |
staging/lustre/ldlm: move cancel_unused_locks_before_replay to sysfs
/proc/fs/lustre/ldlm/cancel_unused_locks_before_replay is
moved to /sys/fs/lustre/ldlm/cancel_unused_locks_before_replay
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/ldlm/ldlm_resource.c')
-rw-r--r-- | drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c b/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c index 70d9567..ad3e0b3 100644 --- a/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c +++ b/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c @@ -65,8 +65,6 @@ struct proc_dir_entry *ldlm_type_proc_dir = NULL; static struct proc_dir_entry *ldlm_ns_proc_dir = NULL; struct proc_dir_entry *ldlm_svc_proc_dir = NULL; -extern unsigned int ldlm_cancel_unused_locks_before_replay; - /* during debug dump certain amount of granted locks for one resource to avoid * DDOS. */ unsigned int ldlm_dump_granted_max = 256; @@ -91,8 +89,6 @@ int ldlm_proc_setup(void) { "dump_namespaces", &ldlm_dump_ns_fops, NULL, 0222 }, { "dump_granted_max", &ldlm_rw_uint_fops, &ldlm_dump_granted_max }, - { "cancel_unused_locks_before_replay", &ldlm_rw_uint_fops, - &ldlm_cancel_unused_locks_before_replay }, { NULL } }; LASSERT(ldlm_ns_proc_dir == NULL); |