Searched refs:whiteout (Results 1 – 8 of 8) sorted by relevance
/fs/overlayfs/ |
D | dir.c | 68 struct dentry *whiteout; in ovl_whiteout() local 72 if (!ofs->whiteout) { in ovl_whiteout() 73 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 74 if (IS_ERR(whiteout)) in ovl_whiteout() 77 err = ovl_do_whiteout(ofs, wdir, whiteout); in ovl_whiteout() 79 dput(whiteout); in ovl_whiteout() 80 whiteout = ERR_PTR(err); in ovl_whiteout() 83 ofs->whiteout = whiteout; in ovl_whiteout() 87 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 88 if (IS_ERR(whiteout)) in ovl_whiteout() [all …]
|
D | super.c | 235 dput(ofs->whiteout); in ovl_free_fs() 1304 struct dentry *whiteout; in ovl_check_rename_whiteout() local 1331 whiteout = ovl_lookup_upper(ofs, name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout() 1332 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout() 1333 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout() 1336 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout() 1340 ovl_cleanup(ofs, dir, whiteout); in ovl_check_rename_whiteout() 1341 dput(whiteout); in ovl_check_rename_whiteout()
|
D | ovl_entry.h | 93 struct dentry *whiteout; member
|
/fs/f2fs/ |
D | namei.c | 927 struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument 930 S_IFCHR | WHITEOUT_MODE, true, whiteout); in f2fs_create_whiteout() 946 struct inode *whiteout = NULL; in f2fs_rename() local 979 err = f2fs_create_whiteout(mnt_userns, old_dir, &whiteout); in f2fs_rename() 1068 if (!old_dir_entry || whiteout) in f2fs_rename() 1081 if (whiteout) { in f2fs_rename() 1082 set_inode_flag(whiteout, FI_INC_LINK); in f2fs_rename() 1083 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename() 1087 spin_lock(&whiteout->i_lock); in f2fs_rename() 1088 whiteout->i_state &= ~I_LINKABLE; in f2fs_rename() [all …]
|
/fs/ubifs/ |
D | dir.c | 1292 struct inode *whiteout = NULL; in do_rename() local 1378 whiteout = create_whiteout(old_dir, old_dentry); in do_rename() 1379 if (IS_ERR(whiteout)) { in do_rename() 1380 err = PTR_ERR(whiteout); in do_rename() 1385 whiteout_ui = ubifs_inode(whiteout); in do_rename() 1405 iput(whiteout); in do_rename() 1413 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename() 1490 new_inode, &new_nm, whiteout, sync); in do_rename() 1494 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename() 1497 if (whiteout) { in do_rename() [all …]
|
D | journal.c | 1220 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument 1253 if (whiteout) { in ubifs_jnl_rename() 1254 whiteout_ui = ubifs_inode(whiteout); in ubifs_jnl_rename() 1256 ubifs_assert(c, whiteout->i_nlink == 1); in ubifs_jnl_rename() 1300 if (whiteout) { in ubifs_jnl_rename() 1301 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename() 1302 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename() 1328 if (whiteout) { in ubifs_jnl_rename() 1329 pack_inode(c, p, whiteout, 0); in ubifs_jnl_rename() 1376 if (whiteout) in ubifs_jnl_rename() [all …]
|
D | ubifs.h | 1819 const struct inode *whiteout, int sync);
|
/fs/ext4/ |
D | namei.c | 3810 struct inode *whiteout = NULL; in ext4_rename() local 3883 whiteout = ext4_whiteout_for_rename(mnt_userns, &old, credits, &handle); in ext4_rename() 3884 if (IS_ERR(whiteout)) { in ext4_rename() 3885 retval = PTR_ERR(whiteout); in ext4_rename() 3918 if (whiteout) { in ext4_rename() 3923 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename() 3927 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename() 3955 if (!whiteout) { in ext4_rename() 4009 if (whiteout) in ext4_rename() 4010 __ext4_fc_track_create(handle, whiteout, in ext4_rename() [all …]
|