blob: 8902d1489f00daac5b973407cbf28a264826fb24 [file] [log] [blame]
Paul Lawrence5bb92df2020-10-26 09:36:39 -07001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright 2020 Google LLC
4 */
5
6#ifndef _INCFS_VERITY_H
7#define _INCFS_VERITY_H
8
9#ifdef CONFIG_FS_VERITY
10
11int incfs_ioctl_enable_verity(struct file *filp, const void __user *uarg);
12
13#else /* !CONFIG_FS_VERITY */
14
15static inline int incfs_ioctl_enable_verity(struct file *filp,
16 const void __user *uarg)
17{
18 return -EOPNOTSUPP;
19}
20
21#endif /* !CONFIG_FS_VERITY */
22
23#endif