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 */ 18