summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_discard.h
blob: 2b1a85223a56c6d37e9711c1025ce63bdb6b048d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef XFS_DISCARD_H
#define XFS_DISCARD_H 1

struct fstrim_range;
struct xfs_mount;
struct xfs_busy_extents;

int xfs_discard_extents(struct xfs_mount *mp, struct xfs_busy_extents *busy);
int xfs_ioc_trim(struct xfs_mount *mp, struct fstrim_range __user *fstrim);

#endif /* XFS_DISCARD_H */