WIP FPC-III support
[linux/fpc-iii.git] / fs / xfs / scrub / xfs_scrub.h
blob2897ba3a17e62b6fc33962cc06aca71fb80c85be
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (C) 2017 Oracle. All Rights Reserved.
4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
5 */
6 #ifndef __XFS_SCRUB_H__
7 #define __XFS_SCRUB_H__
9 #ifndef CONFIG_XFS_ONLINE_SCRUB
10 # define xfs_scrub_metadata(ip, sm) (-ENOTTY)
11 #else
12 int xfs_scrub_metadata(struct xfs_inode *ip, struct xfs_scrub_metadata *sm);
13 #endif /* CONFIG_XFS_ONLINE_SCRUB */
15 #endif /* __XFS_SCRUB_H__ */