Loading fs/orangefs/dir.c +2 −2 Original line number Diff line number Diff line Loading @@ -177,8 +177,8 @@ static int orangefs_readdir(struct file *file, struct dir_context *ctx) } gossip_debug(GOSSIP_DIR_DEBUG, "orangefs_readdir called on %s (pos=%llu)\n", dentry->d_name.name, llu(pos)); "orangefs_readdir called on %pd (pos=%llu)\n", dentry, llu(pos)); memset(&readdir_response, 0, sizeof(readdir_response)); Loading fs/orangefs/file.c +2 −2 Original line number Diff line number Diff line Loading @@ -585,8 +585,8 @@ static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) static int orangefs_file_release(struct inode *inode, struct file *file) { gossip_debug(GOSSIP_FILE_DEBUG, "orangefs_file_release: called on %s\n", file->f_path.dentry->d_name.name); "orangefs_file_release: called on %pD\n", file); orangefs_flush_inode(inode); Loading fs/orangefs/inode.c +6 −6 Original line number Diff line number Diff line Loading @@ -129,8 +129,8 @@ static ssize_t orangefs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) { gossip_debug(GOSSIP_INODE_DEBUG, "orangefs_direct_IO: %s\n", iocb->ki_filp->f_path.dentry->d_name.name); "orangefs_direct_IO: %pD\n", iocb->ki_filp); return -EINVAL; } Loading Loading @@ -216,8 +216,8 @@ int orangefs_setattr(struct dentry *dentry, struct iattr *iattr) struct inode *inode = dentry->d_inode; gossip_debug(GOSSIP_INODE_DEBUG, "orangefs_setattr: called on %s\n", dentry->d_name.name); "orangefs_setattr: called on %pd\n", dentry); ret = inode_change_ok(inode, iattr); if (ret) Loading Loading @@ -259,8 +259,8 @@ int orangefs_getattr(struct vfsmount *mnt, struct orangefs_inode_s *orangefs_inode = NULL; gossip_debug(GOSSIP_INODE_DEBUG, "orangefs_getattr: called on %s\n", dentry->d_name.name); "orangefs_getattr: called on %pd\n", dentry); ret = orangefs_inode_getattr(inode, 0, 0); if (ret == 0) { Loading fs/orangefs/namei.c +22 −22 Original line number Diff line number Diff line Loading @@ -24,9 +24,9 @@ static int orangefs_create(struct inode *dir, struct inode *inode; int ret; gossip_debug(GOSSIP_NAME_DEBUG, "%s: %s\n", gossip_debug(GOSSIP_NAME_DEBUG, "%s: %pd\n", __func__, dentry->d_name.name); dentry); new_op = op_alloc(ORANGEFS_VFS_OP_CREATE); if (!new_op) Loading @@ -43,9 +43,9 @@ static int orangefs_create(struct inode *dir, ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); gossip_debug(GOSSIP_NAME_DEBUG, "%s: %s: handle:%pU: fsid:%d: new_op:%p: ret:%d:\n", "%s: %pd: handle:%pU: fsid:%d: new_op:%p: ret:%d:\n", __func__, dentry->d_name.name, dentry, &new_op->downcall.resp.create.refn.khandle, new_op->downcall.resp.create.refn.fs_id, new_op, Loading @@ -57,18 +57,18 @@ static int orangefs_create(struct inode *dir, inode = orangefs_new_inode(dir->i_sb, dir, S_IFREG | mode, 0, &new_op->downcall.resp.create.refn); if (IS_ERR(inode)) { gossip_err("%s: Failed to allocate inode for file :%s:\n", gossip_err("%s: Failed to allocate inode for file :%pd:\n", __func__, dentry->d_name.name); dentry); ret = PTR_ERR(inode); goto out; } gossip_debug(GOSSIP_NAME_DEBUG, "%s: Assigned inode :%pU: for file :%s:\n", "%s: Assigned inode :%pU: for file :%pd:\n", __func__, get_khandle_from_ino(inode), dentry->d_name.name); dentry); d_instantiate(dentry, inode); unlock_new_inode(inode); Loading @@ -76,9 +76,9 @@ static int orangefs_create(struct inode *dir, ORANGEFS_I(inode)->getattr_time = jiffies - 1; gossip_debug(GOSSIP_NAME_DEBUG, "%s: dentry instantiated for %s\n", "%s: dentry instantiated for %pd\n", __func__, dentry->d_name.name); dentry); SetMtimeFlag(parent); dir->i_mtime = dir->i_ctime = current_fs_time(dir->i_sb); Loading @@ -87,9 +87,9 @@ static int orangefs_create(struct inode *dir, out: op_release(new_op); gossip_debug(GOSSIP_NAME_DEBUG, "%s: %s: returning %d\n", "%s: %pd: returning %d\n", __func__, dentry->d_name.name, dentry, ret); return ret; } Loading @@ -115,8 +115,8 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, * -EEXIST on O_EXCL opens, which is broken if we skip this lookup * in the create path) */ gossip_debug(GOSSIP_NAME_DEBUG, "%s called on %s\n", __func__, dentry->d_name.name); gossip_debug(GOSSIP_NAME_DEBUG, "%s called on %pd\n", __func__, dentry); if (dentry->d_name.len > (ORANGEFS_NAME_MAX - 1)) return ERR_PTR(-ENAMETOOLONG); Loading Loading @@ -169,9 +169,9 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, gossip_debug(GOSSIP_NAME_DEBUG, "orangefs_lookup: Adding *negative* dentry " "%p for %s\n", "%p for %pd\n", dentry, dentry->d_name.name); dentry); d_add(dentry, NULL); res = NULL; Loading Loading @@ -224,10 +224,10 @@ static int orangefs_unlink(struct inode *dir, struct dentry *dentry) int ret; gossip_debug(GOSSIP_NAME_DEBUG, "%s: called on %s\n" "%s: called on %pd\n" " (inode %pU): Parent is %pU | fs_id %d\n", __func__, dentry->d_name.name, dentry, get_khandle_from_ino(inode), &parent->refn.khandle, parent->refn.fs_id); Loading Loading @@ -326,9 +326,9 @@ static int orangefs_symlink(struct inode *dir, ORANGEFS_I(inode)->getattr_time = jiffies - 1; gossip_debug(GOSSIP_NAME_DEBUG, "Inode (Symlink) %pU -> %s\n", "Inode (Symlink) %pU -> %pd\n", get_khandle_from_ino(inode), dentry->d_name.name); dentry); SetMtimeFlag(parent); dir->i_mtime = dir->i_ctime = current_fs_time(dir->i_sb); Loading Loading @@ -390,9 +390,9 @@ static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode ORANGEFS_I(inode)->getattr_time = jiffies - 1; gossip_debug(GOSSIP_NAME_DEBUG, "Inode (Directory) %pU -> %s\n", "Inode (Directory) %pU -> %pd\n", get_khandle_from_ino(inode), dentry->d_name.name); dentry); /* * NOTE: we have no good way to keep nlink consistent for directories Loading fs/orangefs/orangefs-debugfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -350,8 +350,8 @@ static ssize_t orangefs_debug_write(struct file *file, struct client_debug_mask c_mask = { NULL, 0, 0 }; gossip_debug(GOSSIP_DEBUGFS_DEBUG, "orangefs_debug_write: %s\n", file->f_path.dentry->d_name.name); "orangefs_debug_write: %pD\n", file); /* * Thwart users who try to jamb a ridiculous number Loading Loading
fs/orangefs/dir.c +2 −2 Original line number Diff line number Diff line Loading @@ -177,8 +177,8 @@ static int orangefs_readdir(struct file *file, struct dir_context *ctx) } gossip_debug(GOSSIP_DIR_DEBUG, "orangefs_readdir called on %s (pos=%llu)\n", dentry->d_name.name, llu(pos)); "orangefs_readdir called on %pd (pos=%llu)\n", dentry, llu(pos)); memset(&readdir_response, 0, sizeof(readdir_response)); Loading
fs/orangefs/file.c +2 −2 Original line number Diff line number Diff line Loading @@ -585,8 +585,8 @@ static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) static int orangefs_file_release(struct inode *inode, struct file *file) { gossip_debug(GOSSIP_FILE_DEBUG, "orangefs_file_release: called on %s\n", file->f_path.dentry->d_name.name); "orangefs_file_release: called on %pD\n", file); orangefs_flush_inode(inode); Loading
fs/orangefs/inode.c +6 −6 Original line number Diff line number Diff line Loading @@ -129,8 +129,8 @@ static ssize_t orangefs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) { gossip_debug(GOSSIP_INODE_DEBUG, "orangefs_direct_IO: %s\n", iocb->ki_filp->f_path.dentry->d_name.name); "orangefs_direct_IO: %pD\n", iocb->ki_filp); return -EINVAL; } Loading Loading @@ -216,8 +216,8 @@ int orangefs_setattr(struct dentry *dentry, struct iattr *iattr) struct inode *inode = dentry->d_inode; gossip_debug(GOSSIP_INODE_DEBUG, "orangefs_setattr: called on %s\n", dentry->d_name.name); "orangefs_setattr: called on %pd\n", dentry); ret = inode_change_ok(inode, iattr); if (ret) Loading Loading @@ -259,8 +259,8 @@ int orangefs_getattr(struct vfsmount *mnt, struct orangefs_inode_s *orangefs_inode = NULL; gossip_debug(GOSSIP_INODE_DEBUG, "orangefs_getattr: called on %s\n", dentry->d_name.name); "orangefs_getattr: called on %pd\n", dentry); ret = orangefs_inode_getattr(inode, 0, 0); if (ret == 0) { Loading
fs/orangefs/namei.c +22 −22 Original line number Diff line number Diff line Loading @@ -24,9 +24,9 @@ static int orangefs_create(struct inode *dir, struct inode *inode; int ret; gossip_debug(GOSSIP_NAME_DEBUG, "%s: %s\n", gossip_debug(GOSSIP_NAME_DEBUG, "%s: %pd\n", __func__, dentry->d_name.name); dentry); new_op = op_alloc(ORANGEFS_VFS_OP_CREATE); if (!new_op) Loading @@ -43,9 +43,9 @@ static int orangefs_create(struct inode *dir, ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); gossip_debug(GOSSIP_NAME_DEBUG, "%s: %s: handle:%pU: fsid:%d: new_op:%p: ret:%d:\n", "%s: %pd: handle:%pU: fsid:%d: new_op:%p: ret:%d:\n", __func__, dentry->d_name.name, dentry, &new_op->downcall.resp.create.refn.khandle, new_op->downcall.resp.create.refn.fs_id, new_op, Loading @@ -57,18 +57,18 @@ static int orangefs_create(struct inode *dir, inode = orangefs_new_inode(dir->i_sb, dir, S_IFREG | mode, 0, &new_op->downcall.resp.create.refn); if (IS_ERR(inode)) { gossip_err("%s: Failed to allocate inode for file :%s:\n", gossip_err("%s: Failed to allocate inode for file :%pd:\n", __func__, dentry->d_name.name); dentry); ret = PTR_ERR(inode); goto out; } gossip_debug(GOSSIP_NAME_DEBUG, "%s: Assigned inode :%pU: for file :%s:\n", "%s: Assigned inode :%pU: for file :%pd:\n", __func__, get_khandle_from_ino(inode), dentry->d_name.name); dentry); d_instantiate(dentry, inode); unlock_new_inode(inode); Loading @@ -76,9 +76,9 @@ static int orangefs_create(struct inode *dir, ORANGEFS_I(inode)->getattr_time = jiffies - 1; gossip_debug(GOSSIP_NAME_DEBUG, "%s: dentry instantiated for %s\n", "%s: dentry instantiated for %pd\n", __func__, dentry->d_name.name); dentry); SetMtimeFlag(parent); dir->i_mtime = dir->i_ctime = current_fs_time(dir->i_sb); Loading @@ -87,9 +87,9 @@ static int orangefs_create(struct inode *dir, out: op_release(new_op); gossip_debug(GOSSIP_NAME_DEBUG, "%s: %s: returning %d\n", "%s: %pd: returning %d\n", __func__, dentry->d_name.name, dentry, ret); return ret; } Loading @@ -115,8 +115,8 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, * -EEXIST on O_EXCL opens, which is broken if we skip this lookup * in the create path) */ gossip_debug(GOSSIP_NAME_DEBUG, "%s called on %s\n", __func__, dentry->d_name.name); gossip_debug(GOSSIP_NAME_DEBUG, "%s called on %pd\n", __func__, dentry); if (dentry->d_name.len > (ORANGEFS_NAME_MAX - 1)) return ERR_PTR(-ENAMETOOLONG); Loading Loading @@ -169,9 +169,9 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, gossip_debug(GOSSIP_NAME_DEBUG, "orangefs_lookup: Adding *negative* dentry " "%p for %s\n", "%p for %pd\n", dentry, dentry->d_name.name); dentry); d_add(dentry, NULL); res = NULL; Loading Loading @@ -224,10 +224,10 @@ static int orangefs_unlink(struct inode *dir, struct dentry *dentry) int ret; gossip_debug(GOSSIP_NAME_DEBUG, "%s: called on %s\n" "%s: called on %pd\n" " (inode %pU): Parent is %pU | fs_id %d\n", __func__, dentry->d_name.name, dentry, get_khandle_from_ino(inode), &parent->refn.khandle, parent->refn.fs_id); Loading Loading @@ -326,9 +326,9 @@ static int orangefs_symlink(struct inode *dir, ORANGEFS_I(inode)->getattr_time = jiffies - 1; gossip_debug(GOSSIP_NAME_DEBUG, "Inode (Symlink) %pU -> %s\n", "Inode (Symlink) %pU -> %pd\n", get_khandle_from_ino(inode), dentry->d_name.name); dentry); SetMtimeFlag(parent); dir->i_mtime = dir->i_ctime = current_fs_time(dir->i_sb); Loading Loading @@ -390,9 +390,9 @@ static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode ORANGEFS_I(inode)->getattr_time = jiffies - 1; gossip_debug(GOSSIP_NAME_DEBUG, "Inode (Directory) %pU -> %s\n", "Inode (Directory) %pU -> %pd\n", get_khandle_from_ino(inode), dentry->d_name.name); dentry); /* * NOTE: we have no good way to keep nlink consistent for directories Loading
fs/orangefs/orangefs-debugfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -350,8 +350,8 @@ static ssize_t orangefs_debug_write(struct file *file, struct client_debug_mask c_mask = { NULL, 0, 0 }; gossip_debug(GOSSIP_DEBUGFS_DEBUG, "orangefs_debug_write: %s\n", file->f_path.dentry->d_name.name); "orangefs_debug_write: %pD\n", file); /* * Thwart users who try to jamb a ridiculous number Loading