Lines Matching refs:old_dir
261 struct inode *old_dir = data->old_dir;
265 trace_nfs_sillyrename_rename(old_dir, old_dentry,
267 if (!NFS_PROTO(old_dir)->rename_done(task, old_dir, new_dir)) {
283 struct super_block *sb = data->old_dir->i_sb;
291 spin_lock(&data->old_dir->i_lock);
292 nfs_force_lookup_revalidate(data->old_dir);
293 spin_unlock(&data->old_dir->i_lock);
294 if (data->new_dir != data->old_dir) {
303 iput(data->old_dir);
313 NFS_PROTO(data->old_dir)->rename_rpc_prepare(task, data);
324 * @old_dir: directory that currently holds the dentry to be renamed
333 nfs_async_rename(struct inode *old_dir, struct inode *new_dir,
343 .rpc_client = NFS_CLIENT(old_dir),
359 data->old_dir = old_dir;
360 ihold(old_dir);
370 data->args.old_dir = NFS_FH(old_dir);
379 nfs_sb_active(old_dir->i_sb);
381 NFS_PROTO(data->old_dir)->rename_setup(&msg, old_dentry, new_dentry);