Home
last modified time | relevance | path

Searched refs:new_is_dir (Results 1 – 2 of 2) sorted by relevance

/fs/overlayfs/
Ddir.c692 bool new_is_dir = false; in ovl_rename2() local
719 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()
/fs/
Dnamei.c4162 bool new_is_dir = false; in vfs_rename2() local
4176 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()