assorted conversions to %p[dD]
[firefly-linux-kernel-4.4.55.git] / fs / ocfs2 / dlmfs / dlmfs.c
index 09b7d9dac71d567d49d4f23d01511ba0a2c5adb1..57c40e34f56feb038297ff2e120e62cb3c44807c 100644 (file)
@@ -565,8 +565,8 @@ static int dlmfs_unlink(struct inode *dir,
         * to acquire a lock, this basically destroys our lockres. */
        status = user_dlm_destroy_lock(&DLMFS_I(inode)->ip_lockres);
        if (status < 0) {
-               mlog(ML_ERROR, "unlink %.*s, error %d from destroy\n",
-                    dentry->d_name.len, dentry->d_name.name, status);
+               mlog(ML_ERROR, "unlink %pd, error %d from destroy\n",
+                    dentry, status);
                goto bail;
        }
        status = simple_unlink(dir, dentry);