Whamcloud - gitweb
LU-3462 lnet: Fix path to ldiskfs module
[fs/lustre-release.git] / lnet / utils / debug.c
index ec4393e..33699ff 100644 (file)
@@ -56,23 +56,8 @@ static int debug_mask = ~0;
 
 #define MAX_MARK_SIZE 256
 
-static const char *libcfs_debug_subsystems[] =
-        {"undefined", "mdc", "mds", "osc",
-         "ost", "class", "log", "llite",
-         "rpc", "mgmt", "lnet", "lnd",
-         "pinger", "filter", "", "echo",
-         "ldlm", "lov", "lquota", "",
-         "", "", "", "lmv",
-         "", "sec", "gss", "", 
-         "mgc", "mgs", "fid", "fld", NULL};
-static const char *libcfs_debug_masks[] =
-        {"trace", "inode", "super", "ext2",
-         "malloc", "cache", "info", "ioctl",
-         "neterror", "net", "warning", "buffs",
-         "other", "dentry", "nettrace", "page",
-         "dlmtrace", "error", "emerg", "ha",
-         "rpctrace", "vfstrace", "reada", "mmap",
-         "config", "console", "quota", "sec", NULL};
+static const char *libcfs_debug_subsystems[] = LIBCFS_DEBUG_SUBSYS_NAMES;
+static const char *libcfs_debug_masks[] = LIBCFS_DEBUG_MASKS_NAMES;
 
 #ifdef __linux__
 
@@ -874,7 +859,7 @@ static struct mod_paths {
        { "mdc", "lustre/mdc" },
        { "lustre", "lustre/llite" },
        { "llite_lloop", "lustre/llite" },
-       { "ldiskfs", "ldiskfs/ldiskfs" },
+       { "ldiskfs", "ldiskfs" },
        { "obdecho", "lustre/obdecho" },
        { "ldlm", "lustre/ldlm" },
        { "obdfilter", "lustre/obdfilter" },
@@ -892,6 +877,7 @@ static struct mod_paths {
         {"fld", "lustre/fld"},
        {"lod", "lustre/lod"},
        {"osp", "lustre/osp"},
+       { "lfsck", "lustre/lfsck" },
         {NULL, NULL}
 };