xref: /linux/fs/xfs/xfs_discard.h (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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 */
13