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