Lines Matching refs:upper_mnt
233 ovl_inuse_unlock(ofs->upper_mnt->mnt_root); in ovl_free_fs()
234 mntput(ofs->upper_mnt); in ovl_free_fs()
267 if (!ofs->upper_mnt) in ovl_sync_fs()
281 upper_sb = ofs->upper_mnt->mnt_sb; in ovl_sync_fs()
319 return (!ofs->upper_mnt || !ofs->workdir); in ovl_force_readonly()
625 struct vfsmount *mnt = ofs->upper_mnt; in ovl_workdir_create()
1040 struct vfsmount *upper_mnt; in ovl_get_upper() local
1063 upper_mnt = clone_private_mount(upperpath); in ovl_get_upper()
1064 err = PTR_ERR(upper_mnt); in ovl_get_upper()
1065 if (IS_ERR(upper_mnt)) { in ovl_get_upper()
1071 upper_mnt->mnt_flags &= ~(MNT_NOATIME | MNT_NODIRATIME | MNT_RELATIME); in ovl_get_upper()
1072 ofs->upper_mnt = upper_mnt; in ovl_get_upper()
1074 if (ovl_inuse_trylock(ofs->upper_mnt->mnt_root)) { in ovl_get_upper()
1090 struct vfsmount *mnt = ofs->upper_mnt; in ovl_make_workdir()
1213 struct vfsmount *mnt = ofs->upper_mnt; in ovl_get_indexdir()
1273 if (ofs->upper_mnt && ofs->upper_mnt->mnt_sb == sb) in ovl_get_fsid()
1372 if (!ofs->numlowerfs || (ofs->numlowerfs == 1 && !ofs->upper_mnt)) { in ovl_get_lower_layers()
1523 if (ofs->upper_mnt) { in ovl_check_overlapping_layers()
1524 err = ovl_check_layer(sb, ofs, ofs->upper_mnt->mnt_root, in ovl_check_overlapping_layers()
1612 sb->s_stack_depth = ofs->upper_mnt->mnt_sb->s_stack_depth; in ovl_fill_super()
1613 sb->s_time_gran = ofs->upper_mnt->mnt_sb->s_time_gran; in ovl_fill_super()
1622 if (!ofs->upper_mnt) in ovl_fill_super()
1646 if (ofs->upper_mnt && ofs->config.nfs_export) { in ovl_fill_super()