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