xfs: inode recovery does not validate the recovered inode
[platform/kernel/linux-starfive.git] / fs / xfs / xfs_discard.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef XFS_DISCARD_H
3 #define XFS_DISCARD_H 1
4
5 struct fstrim_range;
6 struct xfs_mount;
7 struct xfs_busy_extents;
8
9 int xfs_discard_extents(struct xfs_mount *mp, struct xfs_busy_extents *busy);
10 int xfs_ioc_trim(struct xfs_mount *mp, struct fstrim_range __user *fstrim);
11
12 #endif /* XFS_DISCARD_H */