mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
428c4435b0
Because we are going to use the same list-based discard submission interface for fstrim-based discards, too. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
13 lines
333 B
C
13 lines
333 B
C
/* 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 */
|