Searched refs:new_is_dir (Results 1 – 2 of 2) sorted by relevance
1054 bool new_is_dir = d_is_dir(new); in ovl_rename() local1073 if (overwrite && new_is_dir && !ovl_pure_upper(new)) { in ovl_rename()1208 else if (!overwrite && new_is_dir && !new_opaque && in ovl_rename()1223 if (new_is_dir) in ovl_rename()
4549 bool new_is_dir = false; in vfs_rename() local4564 new_is_dir = d_is_dir(new_dentry); in vfs_rename()4569 error = may_delete(new_dir, new_dentry, new_is_dir); in vfs_rename()4587 if ((flags & RENAME_EXCHANGE) && new_is_dir) { in vfs_rename()4619 if (target && (!new_is_dir || lock_new_subdir)) in vfs_rename()4621 } else if (new_is_dir) { in vfs_rename()4635 if (is_dir && !new_is_dir && new_dir->i_nlink >= max_links) in vfs_rename()4637 if ((flags & RENAME_EXCHANGE) && !is_dir && new_is_dir && in vfs_rename()4646 if (target && !new_is_dir) { in vfs_rename()4673 if (target && (!new_is_dir || lock_new_subdir)) in vfs_rename()[all …]