]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - include/linux/backing-file.h
fs: prepare for stackable filesystems backing file helpers
[thirdparty/kernel/linux.git] / include / linux / backing-file.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Common helpers for stackable filesystems and backing files.
4 *
5 * Copyright (C) 2023 CTERA Networks.
6 */
7
8 #ifndef _LINUX_BACKING_FILE_H
9 #define _LINUX_BACKING_FILE_H
10
11 #include <linux/file.h>
12
13 struct file *backing_file_open(const struct path *user_path, int flags,
14 const struct path *real_path,
15 const struct cred *cred);
16
17 #endif /* _LINUX_BACKING_FILE_H */