--- a/lib/test_lockup.c~lib-test_lockupc-make-test_inode-static +++ a/lib/test_lockup.c @@ -142,7 +142,7 @@ module_param(reallocate_pages, bool, 040 MODULE_PARM_DESC(reallocate_pages, "free and allocate pages between iterations"); struct file *test_file; -struct inode *test_inode; +static struct inode *test_inode; static char test_file_path[256]; module_param_string(file_path, test_file_path, sizeof(test_file_path), 0400); MODULE_PARM_DESC(file_path, "file path to test");