Browse Source

lustre: use %pD

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 9 years ago
parent
commit
47b34458fc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/lustre/lustre/llite/file.c

+ 2 - 2
drivers/staging/lustre/lustre/llite/file.c

@@ -1141,8 +1141,8 @@ ll_file_io_generic(const struct lu_env *env, struct vvp_io_args *args,
 	struct cl_io	 *io;
 	struct cl_io	 *io;
 	ssize_t	       result;
 	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:
 restart:
 	io = vvp_env_thread_io(env);
 	io = vvp_env_thread_io(env);