Lines Matching refs:mnt
237 mntput(ofs->lower_layers[i].mnt); in ovl_free_fs()
642 struct vfsmount *mnt = ofs->upper_mnt; in ovl_workdir_create() local
669 ovl_workdir_cleanup(dir, mnt, work, 0); in ovl_workdir_create()
821 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir()
1067 if (sb_rdonly(upperpath->mnt->mnt_sb)) { in ovl_get_upper()
1109 struct vfsmount *mnt = ofs->upper_mnt; in ovl_make_workdir() local
1114 err = mnt_want_write(mnt); in ovl_make_workdir()
1182 mnt_drop_write(mnt); in ovl_make_workdir()
1197 if (upperpath->mnt != workpath.mnt) { in ovl_get_workdir()
1232 struct vfsmount *mnt = ofs->upper_mnt; in ovl_get_indexdir() local
1235 err = mnt_want_write(mnt); in ovl_get_indexdir()
1280 mnt_drop_write(mnt); in ovl_get_indexdir()
1322 struct super_block *sb = path->mnt->mnt_sb; in ovl_get_fsid()
1381 struct vfsmount *mnt; in ovl_get_lower_layers() local
1408 mnt = clone_private_mount(&stack[i]); in ovl_get_lower_layers()
1409 err = PTR_ERR(mnt); in ovl_get_lower_layers()
1410 if (IS_ERR(mnt)) { in ovl_get_lower_layers()
1420 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_lower_layers()
1423 ofs->lower_layers[ofs->numlower].mnt = mnt; in ovl_get_lower_layers()
1613 ofs->lower_layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
1745 mntput(upperpath.mnt); in ovl_fill_super()