Staging: lustre: module: Replace function calls
[cascardo/linux.git] / drivers / staging / lustre / lustre / libcfs / module.c
index d781b41..96d9d46 100644 (file)
@@ -392,7 +392,7 @@ static int __proc_dobitmasks(void *data, int write,
        } else {
                rc = cfs_trace_copyin_string(tmpstr, tmpstrlen, buffer, nob);
                if (rc < 0) {
-                       cfs_trace_free_string_buffer(tmpstr, tmpstrlen);
+                       kfree(tmpstr);
                        return rc;
                }
 
@@ -402,7 +402,7 @@ static int __proc_dobitmasks(void *data, int write,
                        *mask |= D_EMERG;
        }
 
-       cfs_trace_free_string_buffer(tmpstr, tmpstrlen);
+       kfree(tmpstr);
        return rc;
 }