Home
last modified time | relevance | path

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

/linux-4.4.14/fs/overlayfs/
Ddir.c56 struct dentry *whiteout; in ovl_whiteout() local
59 whiteout = ovl_lookup_temp(workdir, dentry); in ovl_whiteout()
60 if (IS_ERR(whiteout)) in ovl_whiteout()
61 return whiteout; in ovl_whiteout()
63 err = ovl_do_whiteout(wdir, whiteout); in ovl_whiteout()
65 dput(whiteout); in ovl_whiteout()
66 whiteout = ERR_PTR(err); in ovl_whiteout()
69 return whiteout; in ovl_whiteout()
510 struct dentry *whiteout; in ovl_remove_and_whiteout() local
543 whiteout = ovl_whiteout(workdir, dentry); in ovl_remove_and_whiteout()
[all …]
/linux-4.4.14/fs/f2fs/
Dnamei.c513 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile() argument
519 if (!whiteout) in __f2fs_tmpfile()
526 if (whiteout) { in __f2fs_tmpfile()
553 if (whiteout) { in __f2fs_tmpfile()
555 *whiteout = inode; in __f2fs_tmpfile()
580 static int f2fs_create_whiteout(struct inode *dir, struct inode **whiteout) in f2fs_create_whiteout() argument
582 return __f2fs_tmpfile(dir, NULL, S_IFCHR | WHITEOUT_MODE, whiteout); in f2fs_create_whiteout()
592 struct inode *whiteout = NULL; in f2fs_rename() local
621 err = f2fs_create_whiteout(old_dir, &whiteout); in f2fs_rename()
694 if (whiteout) { in f2fs_rename()
[all …]
/linux-4.4.14/fs/ext4/
Dnamei.c3490 struct inode *whiteout = NULL; in ext4_rename() local
3556 whiteout = ext4_whiteout_for_rename(&old, credits, &handle); in ext4_rename()
3557 if (IS_ERR(whiteout)) { in ext4_rename()
3558 retval = PTR_ERR(whiteout); in ext4_rename()
3559 whiteout = NULL; in ext4_rename()
3592 if (whiteout) { in ext4_rename()
3597 retval = ext4_setent(handle, &old, whiteout->i_ino, in ext4_rename()
3601 ext4_mark_inode_dirty(handle, whiteout); in ext4_rename()
3624 if (!whiteout) { in ext4_rename()
3666 if (whiteout) { in ext4_rename()
[all …]
/linux-4.4.14/Documentation/filesystems/
Doverlayfs.txt93 A whiteout is created as a character device with 0/0 device number.
94 When a whiteout is found in the upper level of a merged directory, any
95 matching name in the lower level is ignored, and the whiteout itself
/linux-4.4.14/mm/
Dshmem.c2363 struct dentry *whiteout; in shmem_whiteout() local
2366 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name); in shmem_whiteout()
2367 if (!whiteout) in shmem_whiteout()
2370 error = shmem_mknod(old_dir, whiteout, in shmem_whiteout()
2372 dput(whiteout); in shmem_whiteout()
2383 d_rehash(whiteout); in shmem_whiteout()