Whamcloud - gitweb
LU-9859 libcfs: rename cfs_cpt_table to cfs_cpt_tab
[fs/lustre-release.git] / libcfs / libcfs / module.c
index d0f417f..d925a6c 100644 (file)
@@ -403,14 +403,14 @@ static int __proc_cpt_table(void *data, int write,
        if (write)
                return -EPERM;
 
-       LASSERT(cfs_cpt_table != NULL);
+       LASSERT(cfs_cpt_tab);
 
        while (1) {
                LIBCFS_ALLOC(buf, len);
                if (buf == NULL)
                        return -ENOMEM;
 
-               rc = cfs_cpt_table_print(cfs_cpt_table, buf, len);
+               rc = cfs_cpt_table_print(cfs_cpt_tab, buf, len);
                if (rc >= 0)
                        break;
 
@@ -451,14 +451,14 @@ static int __proc_cpt_distance(void *data, int write,
        if (write)
                return -EPERM;
 
-       LASSERT(cfs_cpt_table != NULL);
+       LASSERT(cfs_cpt_tab);
 
        while (1) {
                LIBCFS_ALLOC(buf, len);
                if (buf == NULL)
                        return -ENOMEM;
 
-               rc = cfs_cpt_distance_print(cfs_cpt_table, buf, len);
+               rc = cfs_cpt_distance_print(cfs_cpt_tab, buf, len);
                if (rc >= 0)
                        break;