Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/overlayfs/
Ddir.c367 struct dentry *opaquedir; in ovl_clear_empty() local
391 opaquedir = ovl_create_temp(workdir, OVL_CATTR(stat.mode)); in ovl_clear_empty()
392 err = PTR_ERR(opaquedir); in ovl_clear_empty()
393 if (IS_ERR(opaquedir)) in ovl_clear_empty()
396 err = ovl_copy_xattr(dentry->d_sb, upper, opaquedir); in ovl_clear_empty()
400 err = ovl_set_opaque(dentry, opaquedir); in ovl_clear_empty()
404 inode_lock(opaquedir->d_inode); in ovl_clear_empty()
405 err = ovl_set_attr(opaquedir, &stat); in ovl_clear_empty()
406 inode_unlock(opaquedir->d_inode); in ovl_clear_empty()
410 err = ovl_do_rename(wdir, opaquedir, udir, upper, RENAME_EXCHANGE); in ovl_clear_empty()
[all …]