Searched refs:udir (Results 1 – 2 of 2) sorted by relevance
/fs/overlayfs/ |
D | copy_up.c | 518 struct inode *udir = d_inode(upperdir); in ovl_link_up() local 529 inode_lock_nested(udir, I_MUTEX_PARENT); in ovl_link_up() 534 err = ovl_do_link(ofs, ovl_dentry_upper(c->dentry), udir, upper); in ovl_link_up() 544 inode_unlock(udir); in ovl_link_up() 660 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir); in ovl_copy_up_workdir() local 713 err = ovl_do_rename(ofs, wdir, temp, udir, upper, 0); in ovl_copy_up_workdir() 739 struct inode *udir = d_inode(c->destdir); in ovl_copy_up_tmpfile() local 766 inode_lock_nested(udir, I_MUTEX_PARENT); in ovl_copy_up_tmpfile() 772 err = ovl_do_link(ofs, temp, udir, upper); in ovl_copy_up_tmpfile() 775 inode_unlock(udir); in ovl_copy_up_tmpfile() [all …]
|
D | dir.c | 326 struct inode *udir = upperdir->d_inode; in ovl_create_upper() local 330 if (!attr->hardlink && !IS_POSIXACL(udir)) in ovl_create_upper() 333 inode_lock_nested(udir, I_MUTEX_PARENT); in ovl_create_upper() 334 newdentry = ovl_create_real(ofs, udir, in ovl_create_upper() 352 inode_unlock(udir); in ovl_create_upper() 356 ovl_cleanup(ofs, udir, newdentry); in ovl_create_upper() 368 struct inode *udir = upperdir->d_inode; in ovl_clear_empty() local 392 if (upper->d_parent->d_inode != udir) in ovl_clear_empty() 414 err = ovl_do_rename(ofs, wdir, opaquedir, udir, upper, RENAME_EXCHANGE); in ovl_clear_empty() 468 struct inode *udir = upperdir->d_inode; in ovl_create_over_whiteout() local [all …]
|