]> Git Repo - linux.git/blob - fs/xfs/scrub/xfs_scrub.h
Linux 6.14-rc3
[linux.git] / fs / xfs / scrub / xfs_scrub.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (C) 2017-2023 Oracle.  All Rights Reserved.
4  * Author: Darrick J. Wong <[email protected]>
5  */
6 #ifndef __XFS_SCRUB_H__
7 #define __XFS_SCRUB_H__
8
9 #ifndef CONFIG_XFS_ONLINE_SCRUB
10 # define xfs_ioc_scrub_metadata(f, a)   (-ENOTTY)
11 # define xfs_ioc_scrubv_metadata(f, a)  (-ENOTTY)
12 #else
13 int xfs_ioc_scrub_metadata(struct file *file, void __user *arg);
14 int xfs_ioc_scrubv_metadata(struct file *file, void __user *arg);
15 #endif /* CONFIG_XFS_ONLINE_SCRUB */
16
17 #endif  /* __XFS_SCRUB_H__ */
This page took 0.032228 seconds and 4 git commands to generate.