9p: switch to %p[dD]
[firefly-linux-kernel-4.4.55.git] / fs / 9p / vfs_addr.c
index cc1cfae726b38fdc645fc7af79b4879371727b0a..eb14e055ea83e8509e7ea6ae569e3c1966d3b896 100644 (file)
@@ -266,8 +266,8 @@ v9fs_direct_IO(int rw, struct kiocb *iocb, struct iov_iter *iter, loff_t pos)
         * Now that we do caching with cache mode enabled, We need
         * to support direct IO
         */
-       p9_debug(P9_DEBUG_VFS, "v9fs_direct_IO: v9fs_direct_IO (%s) off/no(%lld/%lu) EINVAL\n",
-                iocb->ki_filp->f_path.dentry->d_name.name,
+       p9_debug(P9_DEBUG_VFS, "v9fs_direct_IO: v9fs_direct_IO (%pD) off/no(%lld/%lu) EINVAL\n",
+                iocb->ki_filp,
                 (long long)pos, iter->nr_segs);
 
        return -EINVAL;