xfs: forced unmounts need to push the CIL
[safe/jmp/linux-2.6] / lib / dynamic_debug.c
index e22c148..d6b8b9b 100644 (file)
 #include <linux/list.h>
 #include <linux/sysctl.h>
 #include <linux/ctype.h>
+#include <linux/string.h>
 #include <linux/uaccess.h>
 #include <linux/dynamic_debug.h>
 #include <linux/debugfs.h>
+#include <linux/slab.h>
 
 extern struct _ddebug __start___verbose[];
 extern struct _ddebug __stop___verbose[];
@@ -209,8 +211,7 @@ static int ddebug_tokenize(char *buf, char *words[], int maxwords)
                char *end;
 
                /* Skip leading whitespace */
-               while (*buf && isspace(*buf))
-                       buf++;
+               buf = skip_spaces(buf);
                if (!*buf)
                        break;  /* oh, it was trailing whitespace */