Lines Matching refs:old_dir
261 struct inode *old_dir = data->old_dir; in nfs_async_rename_done() local
265 trace_nfs_sillyrename_rename(old_dir, old_dentry, in nfs_async_rename_done()
267 if (!NFS_PROTO(old_dir)->rename_done(task, old_dir, new_dir)) { in nfs_async_rename_done()
283 struct super_block *sb = data->old_dir->i_sb; in nfs_async_rename_release()
291 spin_lock(&data->old_dir->i_lock); in nfs_async_rename_release()
292 nfs_force_lookup_revalidate(data->old_dir); in nfs_async_rename_release()
293 spin_unlock(&data->old_dir->i_lock); in nfs_async_rename_release()
294 if (data->new_dir != data->old_dir) { in nfs_async_rename_release()
303 iput(data->old_dir); in nfs_async_rename_release()
313 NFS_PROTO(data->old_dir)->rename_rpc_prepare(task, data); in nfs_rename_prepare()
333 nfs_async_rename(struct inode *old_dir, struct inode *new_dir, in nfs_async_rename() argument
343 .rpc_client = NFS_CLIENT(old_dir), in nfs_async_rename()
359 data->old_dir = old_dir; in nfs_async_rename()
360 ihold(old_dir); in nfs_async_rename()
370 data->args.old_dir = NFS_FH(old_dir); in nfs_async_rename()
379 nfs_sb_active(old_dir->i_sb); in nfs_async_rename()
381 NFS_PROTO(data->old_dir)->rename_setup(&msg, old_dentry, new_dentry); in nfs_async_rename()