drm/atomic-helper: document drm_atomic_helper_check() restrictions
[drm/drm-misc.git] / fs / xfs / scrub / xfs_scrub.h
blobf17173b83e6f34e917bcf2fc48dcac3e709e060e
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
4 * Author: Darrick J. Wong <djwong@kernel.org>
5 */
6 #ifndef __XFS_SCRUB_H__
7 #define __XFS_SCRUB_H__
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 */
17 #endif /* __XFS_SCRUB_H__ */