Home
last modified time | relevance | path

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

/linux/fs/overlayfs/
H A Dcopy_up.c603 struct inode *udir = d_inode(upperdir); in ovl_link_up() local
616 inode_lock_nested(udir, I_MUTEX_PARENT); in ovl_link_up()
621 err = ovl_do_link(ofs, ovl_dentry_upper(c->dentry), udir, upper); in ovl_link_up()
631 inode_unlock(udir); in ovl_link_up()
766 struct inode *udir = d_inode(c->destdir), *wdir = d_inode(c->workdir); in ovl_copy_up_workdir() local
833 err = ovl_do_rename(ofs, wdir, temp, udir, upper, 0); in ovl_copy_up_workdir()
867 struct inode *udir = d_inode(c->destdir); in ovl_copy_up_tmpfile() local
898 inode_lock_nested(udir, I_MUTEX_PARENT); in ovl_copy_up_tmpfile()
904 err = ovl_do_link(ofs, temp, udir, upper); in ovl_copy_up_tmpfile()
907 inode_unlock(udir); in ovl_copy_up_tmpfile()
[all …]
H A Ddir.c329 struct inode *udir = upperdir->d_inode; in ovl_create_upper() local
333 inode_lock_nested(udir, I_MUTEX_PARENT); in ovl_create_upper()
334 newdentry = ovl_create_real(ofs, udir, in ovl_create_upper()
353 inode_unlock(udir); in ovl_create_upper()
357 ovl_cleanup(ofs, udir, newdentry); in ovl_create_upper()
369 struct inode *udir = upperdir->d_inode; in ovl_clear_empty() local
393 if (upper->d_parent->d_inode != udir) in ovl_clear_empty()
415 err = ovl_do_rename(ofs, wdir, opaquedir, udir, upper, RENAME_EXCHANGE); in ovl_clear_empty()
453 struct inode *udir = upperdir->d_inode; in ovl_create_over_whiteout() local
522 err = ovl_do_rename(ofs, wdir, newdentry, udir, upper, in ovl_create_over_whiteout()
[all …]