fs/qnx6: update debugging to current functions
[deliverable/linux.git] / fs / qnx6 / dir.c
index c78a3397c5a9550a3b0dd7270ca156024c6b482d..8d64bb5366bf0721bcde9416d5ff3d356c8a0d9b 100644 (file)
@@ -89,7 +89,7 @@ static int qnx6_dir_longfilename(struct inode *inode,
        lf_size = fs16_to_cpu(sbi, lf->lf_size);
 
        if (lf_size > QNX6_LONG_NAME_MAX) {
-               QNX6DEBUG((KERN_INFO "file %s\n", lf->lf_fname));
+               pr_debug("file %s\n", lf->lf_fname);
                pr_err("Filename too long (%i)\n", lf_size);
                qnx6_put_page(page);
                return 0;
@@ -101,8 +101,8 @@ static int qnx6_dir_longfilename(struct inode *inode,
                        qnx6_lfile_checksum(lf->lf_fname, lf_size))
                pr_info("long filename checksum error.\n");
 
-       QNX6DEBUG((KERN_INFO "qnx6_readdir:%.*s inode:%u\n",
-                                       lf_size, lf->lf_fname, de_inode));
+       pr_debug("qnx6_readdir:%.*s inode:%u\n",
+                lf_size, lf->lf_fname, de_inode);
        if (!dir_emit(ctx, lf->lf_fname, lf_size, de_inode, DT_UNKNOWN)) {
                qnx6_put_page(page);
                return 0;
@@ -158,9 +158,9 @@ static int qnx6_readdir(struct file *file, struct dir_context *ctx)
                                        break;
                                }
                        } else {
-                               QNX6DEBUG((KERN_INFO "qnx6_readdir:%.*s"
-                                  " inode:%u\n", size, de->de_fname,
-                                                       no_inode));
+                               pr_debug("%s():%.*s inode:%u\n",
+                                        __func__, size, de->de_fname,
+                                        no_inode);
                                if (!dir_emit(ctx, de->de_fname, size,
                                      no_inode, DT_UNKNOWN)) {
                                        done = true;
This page took 0.036256 seconds and 5 git commands to generate.