staging: lustre: move lnet_debug_log_upcall declaration to tracefile.h

Both files that use this variable include tracefile.h, and it
seems a more suitable home for the declaration.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
NeilBrown 2018-05-21 14:35:12 +10:00 committed by Greg Kroah-Hartman
parent c4f9077197
commit 17bcf37aac
2 changed files with 5 additions and 5 deletions

View File

@ -103,11 +103,6 @@ static inline int notifier_from_ioctl_errno(int err)
int libcfs_setup(void);
/**
* The path of debug log dump upcall script.
*/
extern char lnet_debug_log_upcall[1024];
extern struct workqueue_struct *cfs_rehash_wq;
void lustre_insert_debugfs(struct ctl_table *table);

View File

@ -49,6 +49,11 @@ enum cfs_trace_buf_type {
extern char cfs_tracefile[TRACEFILE_NAME_SIZE];
extern long long cfs_tracefile_size;
/**
* The path of debug log dump upcall script.
*/
extern char lnet_debug_log_upcall[1024];
void libcfs_run_debug_log_upcall(char *file);
int cfs_tracefile_init_arch(void);