Home
last modified time | relevance | path

Searched refs:whiteout (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/fs/overlayfs/
Ddir.c68 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 …]
Dovl_entry.h83 struct dentry *whiteout; member
Dsuper.c225 dput(ofs->whiteout); in ovl_free_fs()
1278 struct dentry *whiteout; in ovl_check_rename_whiteout() local
1305 whiteout = ovl_lookup_upper(ofs, name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout()
1306 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout()
1307 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout()
1310 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout()
1314 ovl_cleanup(ofs, dir, whiteout); in ovl_check_rename_whiteout()
1315 dput(whiteout); in ovl_check_rename_whiteout()
/Linux-v6.1/fs/f2fs/
Dnamei.c934 struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
940 S_IFCHR | WHITEOUT_MODE, true, whiteout); in f2fs_create_whiteout()
956 struct inode *whiteout = NULL; in f2fs_rename() local
989 err = f2fs_create_whiteout(mnt_userns, old_dir, &whiteout); in f2fs_rename()
1078 if (!old_dir_entry || whiteout) in f2fs_rename()
1091 if (whiteout) { in f2fs_rename()
1092 set_inode_flag(whiteout, FI_INC_LINK); in f2fs_rename()
1093 err = f2fs_add_link(old_dentry, whiteout); in f2fs_rename()
1097 spin_lock(&whiteout->i_lock); in f2fs_rename()
1098 whiteout->i_state &= ~I_LINKABLE; in f2fs_rename()
[all …]
/Linux-v6.1/fs/ubifs/
Ddir.c1295 struct inode *whiteout = NULL; in do_rename() local
1379 whiteout = create_whiteout(old_dir, old_dentry); in do_rename()
1380 if (IS_ERR(whiteout)) { in do_rename()
1381 err = PTR_ERR(whiteout); in do_rename()
1386 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1406 iput(whiteout); in do_rename()
1414 lock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1491 new_inode, &new_nm, whiteout, sync); in do_rename()
1495 unlock_4_inodes(old_dir, new_dir, new_inode, whiteout); in do_rename()
1498 if (whiteout) { in do_rename()
[all …]
Djournal.c1220 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 …]
Dubifs.h1814 const struct inode *whiteout, int sync);
/Linux-v6.1/fs/ext4/
Dnamei.c3779 struct inode *whiteout = NULL; in ext4_rename() local
3847 whiteout = ext4_whiteout_for_rename(mnt_userns, &old, credits, &handle); in ext4_rename()
3848 if (IS_ERR(whiteout)) { in ext4_rename()
3849 retval = PTR_ERR(whiteout); in ext4_rename()
3882 if (whiteout) { in ext4_rename()
3887 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3891 retval = ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3919 if (!whiteout) { in ext4_rename()
3973 if (whiteout) in ext4_rename()
3974 __ext4_fc_track_create(handle, whiteout, in ext4_rename()
[all …]
/Linux-v6.1/mm/
Dshmem.c3048 struct dentry *whiteout; in shmem_whiteout() local
3051 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
3052 if (!whiteout) in shmem_whiteout()
3055 error = shmem_mknod(&init_user_ns, old_dir, whiteout, in shmem_whiteout()
3057 dput(whiteout); in shmem_whiteout()
3068 d_rehash(whiteout); in shmem_whiteout()
/Linux-v6.1/Documentation/filesystems/
Doverlayfs.rst148 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
538 4. If a whiteout is found in index, return ESTALE. This represents an