ovl_entry.h (b0504bfe1b8acdcfb5ef466581d930835ef3c49e) ovl_entry.h (f01d08899fd7fa808ff9b8d33ca4882ab44d42fa)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 *
4 * Copyright (C) 2011 Novell Inc.
5 * Copyright (C) 2016 Red Hat, Inc.
6 */
7
8struct ovl_config {

--- 103 unchanged lines hidden (view full) ---

112 return ofs->layers[0].mnt;
113}
114
115static inline struct mnt_idmap *ovl_upper_mnt_idmap(struct ovl_fs *ofs)
116{
117 return mnt_idmap(ovl_upper_mnt(ofs));
118}
119
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 *
4 * Copyright (C) 2011 Novell Inc.
5 * Copyright (C) 2016 Red Hat, Inc.
6 */
7
8struct ovl_config {

--- 103 unchanged lines hidden (view full) ---

112 return ofs->layers[0].mnt;
113}
114
115static inline struct mnt_idmap *ovl_upper_mnt_idmap(struct ovl_fs *ofs)
116{
117 return mnt_idmap(ovl_upper_mnt(ofs));
118}
119
120extern struct file_system_type ovl_fs_type;
121
120static inline struct ovl_fs *OVL_FS(struct super_block *sb)
121{
122 return (struct ovl_fs *)sb->s_fs_info;
123}
124
125static inline bool ovl_should_sync(struct ovl_fs *ofs)
126{
127 return !ofs->config.ovl_volatile;

--- 73 unchanged lines hidden ---
122static inline struct ovl_fs *OVL_FS(struct super_block *sb)
123{
124 return (struct ovl_fs *)sb->s_fs_info;
125}
126
127static inline bool ovl_should_sync(struct ovl_fs *ofs)
128{
129 return !ofs->config.ovl_volatile;

--- 73 unchanged lines hidden ---