Searched refs:whiteout (Results 1 – 10 of 10) sorted by relevance
/linux/fs/overlayfs/ |
A D | dir.c | 72 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->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 D | super.c | 223 dput(ofs->whiteout); in ovl_free_fs() 1264 struct dentry *whiteout; in ovl_check_rename_whiteout() local 1291 whiteout = lookup_one_len(name.name.name, workdir, name.name.len); in ovl_check_rename_whiteout() 1292 err = PTR_ERR(whiteout); in ovl_check_rename_whiteout() 1293 if (IS_ERR(whiteout)) in ovl_check_rename_whiteout() 1296 err = ovl_is_whiteout(whiteout); in ovl_check_rename_whiteout() 1300 ovl_cleanup(dir, whiteout); in ovl_check_rename_whiteout() 1301 dput(whiteout); in ovl_check_rename_whiteout()
|
A D | ovl_entry.h | 83 struct dentry *whiteout; member
|
/linux/fs/ubifs/ |
A D | dir.c | 395 if (whiteout) { in do_tmpfile() 407 if (whiteout) { in do_tmpfile() 410 *whiteout = inode; in do_tmpfile() 1421 if (whiteout) { in do_rename() 1430 iput(whiteout); in do_rename() 1434 inc_nlink(whiteout); in do_rename() 1435 mark_inode_dirty(whiteout); in do_rename() 1441 iput(whiteout); in do_rename() 1485 if (whiteout) { in do_rename() 1486 drop_nlink(whiteout); in do_rename() [all …]
|
A D | journal.c | 1220 const struct inode *whiteout, int sync) in ubifs_jnl_rename() argument 1288 if (whiteout) { in ubifs_jnl_rename() 1289 dent2->inum = cpu_to_le64(whiteout->i_ino); in ubifs_jnl_rename() 1290 dent2->type = get_dent_type(whiteout->i_mode); in ubifs_jnl_rename() 1366 if (whiteout) { in ubifs_jnl_rename() 1372 ubifs_delete_orphan(c, whiteout->i_ino); in ubifs_jnl_rename()
|
A D | ubifs.h | 1785 const struct inode *whiteout, int sync);
|
/linux/fs/f2fs/ |
A D | namei.c | 852 if (whiteout) { in __f2fs_tmpfile() 877 if (whiteout) { in __f2fs_tmpfile() 884 *whiteout = inode; in __f2fs_tmpfile() 930 struct inode *whiteout = NULL; in f2fs_rename() local 1052 if (!old_dir_entry || whiteout) in f2fs_rename() 1065 if (whiteout) { in f2fs_rename() 1071 spin_lock(&whiteout->i_lock); in f2fs_rename() 1073 spin_unlock(&whiteout->i_lock); in f2fs_rename() 1075 iput(whiteout); in f2fs_rename() 1110 if (whiteout) in f2fs_rename() [all …]
|
/linux/fs/ext4/ |
A D | namei.c | 3709 struct inode *whiteout = NULL; in ext4_rename() local 3778 if (IS_ERR(whiteout)) { in ext4_rename() 3779 retval = PTR_ERR(whiteout); in ext4_rename() 3812 if (whiteout) { in ext4_rename() 3849 if (!whiteout) { in ext4_rename() 3898 if (whiteout) in ext4_rename() 3912 if (whiteout) { in ext4_rename() 3916 drop_nlink(whiteout); in ext4_rename() 3917 ext4_orphan_add(handle, whiteout); in ext4_rename() 3919 unlock_new_inode(whiteout); in ext4_rename() [all …]
|
/linux/mm/ |
A D | shmem.c | 2952 struct dentry *whiteout; in shmem_whiteout() local 2955 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout() 2956 if (!whiteout) in shmem_whiteout() 2959 error = shmem_mknod(&init_user_ns, old_dir, whiteout, in shmem_whiteout() 2961 dput(whiteout); in shmem_whiteout() 2972 d_rehash(whiteout); in shmem_whiteout()
|
/linux/Documentation/filesystems/ |
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 538 4. If a whiteout is found in index, return ESTALE. This represents an
|
Completed in 39 milliseconds