lustre: use %pD
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Aug 2016 16:23:15 +0000 (12:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Aug 2016 03:38:49 +0000 (23:38 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/lustre/lustre/llite/file.c

index 57281b9..23249b3 100644 (file)
@@ -1141,8 +1141,8 @@ ll_file_io_generic(const struct lu_env *env, struct vvp_io_args *args,
        struct cl_io     *io;
        ssize_t        result;
 
-       CDEBUG(D_VFSTRACE, "file: %s, type: %d ppos: %llu, count: %zd\n",
-              file->f_path.dentry->d_name.name, iot, *ppos, count);
+       CDEBUG(D_VFSTRACE, "file: %pD, type: %d ppos: %llu, count: %zd\n",
+              file, iot, *ppos, count);
 
 restart:
        io = vvp_env_thread_io(env);