Searched refs:upperpath (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/fs/overlayfs/
H A Dsuper.c824 struct path upperpath = { NULL, NULL }; ovl_fill_super() local
860 err = ovl_mount_dir(ufs->config.upperdir, &upperpath); ovl_fill_super()
865 if (upperpath.mnt->mnt_sb->s_flags & MS_RDONLY) { ovl_fill_super()
876 if (upperpath.mnt != workpath.mnt) { ovl_fill_super()
880 if (!ovl_workdir_ok(workpath.dentry, upperpath.dentry)) { ovl_fill_super()
884 sb->s_stack_depth = upperpath.mnt->mnt_sb->s_stack_depth; ovl_fill_super()
924 ufs->upper_mnt = clone_private_mount(&upperpath); ovl_fill_super()
927 pr_err("overlayfs: failed to clone upperpath\n"); ovl_fill_super()
978 mntput(upperpath.mnt); ovl_fill_super()
984 oe->__upperdentry = upperpath.dentry; ovl_fill_super()
1021 path_put(&upperpath); ovl_fill_super()
H A Dcopy_up.c238 struct path upperpath; ovl_copy_up_locked() local
239 ovl_path_upper(dentry, &upperpath); ovl_copy_up_locked()
240 BUG_ON(upperpath.dentry != NULL); ovl_copy_up_locked()
241 upperpath.dentry = newdentry; ovl_copy_up_locked()
243 err = ovl_copy_up_data(lowerpath, &upperpath, stat->size); ovl_copy_up_locked()
H A Ddir.c219 struct path upperpath; ovl_clear_empty() local
232 ovl_path_upper(dentry, &upperpath); ovl_clear_empty()
233 err = vfs_getattr(&upperpath, &stat); ovl_clear_empty()
240 upper = upperpath.dentry; ovl_clear_empty()
617 * upperpath/lowerpath, which could only be done if we are the ovl_remove_upper()
H A Dreaddir.c452 struct path upperpath; ovl_dir_fsync() local
454 ovl_path_upper(dentry, &upperpath); ovl_dir_fsync()
455 realfile = ovl_path_open(&upperpath, O_RDONLY); ovl_dir_fsync()

Completed in 164 milliseconds