Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/overlayfs/
A Ddir.c72 if (!ofs->whiteout) { in ovl_whiteout()
74 if (IS_ERR(whiteout)) in ovl_whiteout()
79 dput(whiteout); in ovl_whiteout()
83 ofs->whiteout = whiteout; in ovl_whiteout()
91 err = ovl_do_link(ofs, ofs->whiteout, wdir, whiteout); in ovl_whiteout()
100 dput(whiteout); in ovl_whiteout()
102 whiteout = ofs->whiteout; in ovl_whiteout()
103 ofs->whiteout = NULL; in ovl_whiteout()
105 return whiteout; in ovl_whiteout()
119 if (IS_ERR(whiteout)) in ovl_cleanup_and_whiteout()
[all …]
A Dovl_entry.h83 struct dentry *whiteout; member
A Dsuper.c230 dput(ofs->whiteout); in ovl_free_fs()
1188 struct dentry *whiteout; in ovl_check_rename_whiteout() local
1215 whiteout = ovl_lookup_upper(ofs, name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout()
1216 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout()
1217 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout()
1220 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout()
1224 ovl_cleanup(ofs, dir, whiteout); in ovl_check_rename_whiteout()
1225 dput(whiteout); in ovl_check_rename_whiteout()
/linux-6.3-rc2/fs/f2fs/
A Dnamei.c946 struct inode *whiteout = NULL; in f2fs_rename() local
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()
1089 spin_unlock(&whiteout->i_lock); in f2fs_rename()
1091 iput(whiteout); in f2fs_rename()
1095 if (old_dir != new_dir && !whiteout) in f2fs_rename()
[all …]
/linux-6.3-rc2/fs/ubifs/
A Ddir.c1295 struct inode *whiteout = NULL; in do_rename() local
1381 whiteout = create_whiteout(old_dir, old_dentry); in do_rename()
1382 if (IS_ERR(whiteout)) { in do_rename()
1383 err = PTR_ERR(whiteout); in do_rename()
1388 whiteout_ui = ubifs_inode(whiteout); in do_rename()
1408 iput(whiteout); in do_rename()
1493 new_inode, &new_nm, whiteout, sync); in do_rename()
1500 if (whiteout) { in do_rename()
1502 iput(whiteout); in do_rename()
1544 if (whiteout) { in do_rename()
[all …]
A Djournal.c1257 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()
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()
1382 whiteout->i_ino); in ubifs_jnl_rename()
1394 if (whiteout) { in ubifs_jnl_rename()
1419 if (whiteout) { in ubifs_jnl_rename()
[all …]
A Dubifs.h1819 const struct inode *whiteout, int sync);
/linux-6.3-rc2/fs/ext4/
A Dnamei.c3783 struct inode *whiteout = NULL; in ext4_rename() local
3866 if (IS_ERR(whiteout)) { in ext4_rename()
3867 retval = PTR_ERR(whiteout); in ext4_rename()
3902 if (whiteout) { in ext4_rename()
3939 if (!whiteout) { in ext4_rename()
3993 if (whiteout) in ext4_rename()
4009 if (whiteout) { in ext4_rename()
4013 drop_nlink(whiteout); in ext4_rename()
4014 ext4_orphan_add(handle, whiteout); in ext4_rename()
4016 unlock_new_inode(whiteout); in ext4_rename()
[all …]
/linux-6.3-rc2/mm/
A Dshmem.c3057 struct dentry *whiteout; in shmem_whiteout() local
3060 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
3061 if (!whiteout) in shmem_whiteout()
3064 error = shmem_mknod(idmap, old_dir, whiteout, in shmem_whiteout()
3066 dput(whiteout); in shmem_whiteout()
3077 d_rehash(whiteout); in shmem_whiteout()
/linux-6.3-rc2/Documentation/filesystems/
A 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

Completed in 38 milliseconds