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