X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fsec_lproc.c;h=e3d99acb6410ec779c7290ce2af0c90362381715;hp=c320081cd7072c1ef74409caad6010e16b391430;hb=2519bc95aabb31945d423ce95f5f840280c4adde;hpb=1a7720934dfb3105afd2f025c953bea2167d4e5d diff --git a/lustre/ptlrpc/sec_lproc.c b/lustre/ptlrpc/sec_lproc.c index c320081..e3d99ac 100644 --- a/lustre/ptlrpc/sec_lproc.c +++ b/lustre/ptlrpc/sec_lproc.c @@ -289,8 +289,8 @@ int sptlrpc_lproc_init(void) void sptlrpc_lproc_fini(void) { - if (!IS_ERR_OR_NULL(sptlrpc_debugfs_dir)) - ldebugfs_remove(&sptlrpc_debugfs_dir); + debugfs_remove_recursive(sptlrpc_debugfs_dir); + sptlrpc_debugfs_dir = NULL; if (!IS_ERR_OR_NULL(sptlrpc_lprocfs_dir)) lprocfs_remove(&sptlrpc_lprocfs_dir);