xfs_scrub.h 425 B

123456789101112131415
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2017 Oracle. All Rights Reserved.
  4. * Author: Darrick J. Wong <[email protected]>
  5. */
  6. #ifndef __XFS_SCRUB_H__
  7. #define __XFS_SCRUB_H__
  8. #ifndef CONFIG_XFS_ONLINE_SCRUB
  9. # define xfs_scrub_metadata(file, sm) (-ENOTTY)
  10. #else
  11. int xfs_scrub_metadata(struct file *file, struct xfs_scrub_metadata *sm);
  12. #endif /* CONFIG_XFS_ONLINE_SCRUB */
  13. #endif /* __XFS_SCRUB_H__ */