/openbmc/linux/fs/overlayfs/ |
H A 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 …]
|
H A D | super.c | 610 struct dentry *whiteout; in ovl_check_rename_whiteout() local 637 whiteout = ovl_lookup_upper(ofs, name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout() 638 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout() 639 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout() 642 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout() 646 ovl_cleanup(ofs, dir, whiteout); in ovl_check_rename_whiteout() 647 dput(whiteout); in ovl_check_rename_whiteout()
|
H A D | ovl_entry.h | 90 struct dentry *whiteout; member
|
H A D | params.c | 729 dput(ofs->whiteout); in ovl_free_fs()
|
/openbmc/linux/fs/f2fs/ |
H A D | namei.c | 872 struct inode *dir, struct inode **whiteout, in f2fs_create_whiteout() argument 876 true, whiteout, fname); in f2fs_create_whiteout() 893 struct inode *whiteout = NULL; in f2fs_rename() local 933 err = f2fs_create_whiteout(idmap, old_dir, &whiteout, &fname); in f2fs_rename() 1022 if (!old_dir_entry || whiteout) in f2fs_rename() 1035 if (whiteout) { in f2fs_rename() 1036 set_inode_flag(whiteout, FI_INC_LINK); in f2fs_rename() 1037 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename() 1041 spin_lock(&whiteout->i_lock); in f2fs_rename() 1042 whiteout->i_state &= ~I_LINKABLE; in f2fs_rename() [all …]
|
/openbmc/linux/fs/ubifs/ |
H A D | dir.c | 1291 struct inode *whiteout = NULL; in do_rename() local 1376 whiteout = create_whiteout(old_dir, old_dentry); in do_rename() 1377 if (IS_ERR(whiteout)) { in do_rename() 1378 err = PTR_ERR(whiteout); in do_rename() 1383 whiteout_ui = ubifs_inode(whiteout); in do_rename() 1403 iput(whiteout); in do_rename() 1411 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename() 1484 new_inode, &new_nm, whiteout, sync); in do_rename() 1488 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename() 1491 if (whiteout) { in do_rename() [all …]
|
H A D | journal.c | 1224 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument 1257 if (whiteout) { in ubifs_jnl_rename() 1258 whiteout_ui = ubifs_inode(whiteout); in ubifs_jnl_rename() 1260 ubifs_assert(c, whiteout->i_nlink == 1); in ubifs_jnl_rename() 1304 if (whiteout) { in ubifs_jnl_rename() 1305 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename() 1306 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename() 1332 if (whiteout) { in ubifs_jnl_rename() 1333 pack_inode(c, p, whiteout, 0); in ubifs_jnl_rename() 1380 if (whiteout) in ubifs_jnl_rename() [all …]
|
H A D | ubifs.h | 1819 const struct inode *whiteout, int sync);
|
/openbmc/linux/fs/ext4/ |
H A D | namei.c | 3853 struct inode *whiteout = NULL; in ext4_rename() local 3926 whiteout = ext4_whiteout_for_rename(idmap, &old, credits, &handle); in ext4_rename() 3927 if (IS_ERR(whiteout)) { in ext4_rename() 3928 retval = PTR_ERR(whiteout); in ext4_rename() 3961 if (whiteout) { in ext4_rename() 3966 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename() 3970 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename() 3998 if (!whiteout) { in ext4_rename() 4052 if (whiteout) in ext4_rename() 4053 __ext4_fc_track_create(handle, whiteout, in ext4_rename() [all …]
|
/openbmc/linux/mm/ |
H A D | shmem.c | 3382 struct dentry *whiteout; in shmem_whiteout() local 3385 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout() 3386 if (!whiteout) in shmem_whiteout() 3389 error = shmem_mknod(idmap, old_dir, whiteout, in shmem_whiteout() 3391 dput(whiteout); in shmem_whiteout() 3402 d_rehash(whiteout); in shmem_whiteout()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | overlayfs.rst | 148 A whiteout is created as a character device with 0/0 device number. 149 When a whiteout is found in the upper level of a merged directory, any 150 matching name in the lower level is ignored, and the whiteout itself 642 4. If a whiteout is found in index, return ESTALE. This represents an
|