Searched refs:old_is_dir (Results 1 – 4 of 4) sorted by relevance
328 bool old_is_dir = S_ISDIR(old_inode->i_mode); in ext2_rename() local346 if (old_is_dir && old_dir != new_dir) { in ext2_rename()358 if (old_is_dir && !ext2_empty_dir(new_inode)) in ext2_rename()372 if (old_is_dir) in ext2_rename()379 if (old_is_dir) in ext2_rename()391 if (!err && old_is_dir) { in ext2_rename()
898 bool old_is_dir = S_ISDIR(old_inode->i_mode); in f2fs_rename() local960 if (old_is_dir && old_dir != new_dir) { in f2fs_rename()972 if (old_is_dir && !f2fs_empty_dir(new_inode)) in f2fs_rename()997 if (old_is_dir) in f2fs_rename()1017 if (old_is_dir) in f2fs_rename()1022 if (!old_is_dir || whiteout) in f2fs_rename()1050 if (old_is_dir) in f2fs_rename()
825 bool old_is_dir = d_is_dir(old_dentry); in simple_rename_exchange() local828 if (old_dir != new_dir && old_is_dir != new_is_dir) { in simple_rename_exchange()829 if (old_is_dir) { in simple_rename_exchange()
1897 int old_is_dir, new_is_dir; in may_rename() local1902 old_is_dir = d_is_dir(old_dentry); in may_rename()1916 if (old_is_dir && new_dir != old_dir) { in may_rename()