1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright (C) 2017-2023 Oracle. All Rights 3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <djwong@kernel.org> 4 * Author: Darrick J. Wong <djwong@kernel.org> 5 */ 5 */ 6 #ifndef __XFS_SCRUB_H__ 6 #ifndef __XFS_SCRUB_H__ 7 #define __XFS_SCRUB_H__ 7 #define __XFS_SCRUB_H__ 8 8 9 #ifndef CONFIG_XFS_ONLINE_SCRUB 9 #ifndef CONFIG_XFS_ONLINE_SCRUB 10 # define xfs_ioc_scrub_metadata(f, a) (-ENOT 10 # define xfs_ioc_scrub_metadata(f, a) (-ENOTTY) 11 # define xfs_ioc_scrubv_metadata(f, a) (-ENOT 11 # define xfs_ioc_scrubv_metadata(f, a) (-ENOTTY) 12 #else 12 #else 13 int xfs_ioc_scrub_metadata(struct file *file, 13 int xfs_ioc_scrub_metadata(struct file *file, void __user *arg); 14 int xfs_ioc_scrubv_metadata(struct file *file, 14 int xfs_ioc_scrubv_metadata(struct file *file, void __user *arg); 15 #endif /* CONFIG_XFS_ONLINE_SCRUB */ 15 #endif /* CONFIG_XFS_ONLINE_SCRUB */ 16 16 17 #endif /* __XFS_SCRUB_H__ */ 17 #endif /* __XFS_SCRUB_H__ */ 18 18
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.