Searched refs:new_is_dir (Results 1 – 2 of 2) sorted by relevance
692 bool new_is_dir = false; in ovl_rename2() local719 new_is_dir = true; in ovl_rename2()723 if (!overwrite && (new_type == OVL_PATH_LOWER || new_type == OVL_PATH_MERGE) && new_is_dir) in ovl_rename2()785 if (overwrite && (new_type == OVL_PATH_LOWER || new_type == OVL_PATH_MERGE) && new_is_dir) { in ovl_rename2()847 if (!overwrite && new_is_dir && old_opaque && !new_opaque) { in ovl_rename2()868 if (!overwrite && new_is_dir && old_opaque && !new_opaque) in ovl_rename2()875 if (!overwrite && new_is_dir && !old_opaque && new_opaque) in ovl_rename2()
4162 bool new_is_dir = false; in vfs_rename2() local4176 new_is_dir = d_is_dir(new_dentry); in vfs_rename2()4181 error = may_delete(mnt, new_dir, new_dentry, new_is_dir); in vfs_rename2()4202 if ((flags & RENAME_EXCHANGE) && new_is_dir) { in vfs_rename2()4227 if (is_dir && !new_is_dir && new_dir->i_nlink >= max_links) in vfs_rename2()4229 if ((flags & RENAME_EXCHANGE) && !is_dir && new_is_dir && in vfs_rename2()4240 if (target && !new_is_dir) { in vfs_rename2()4279 new_is_dir, NULL, new_dentry); in vfs_rename2()