Thomas Gleixner | 1a59d1b8 | 2019-05-27 08:55:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Tino Reichardt | b40c2e6 | 2012-09-17 11:58:19 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) Tino Reichardt, 2012 |
Tino Reichardt | b40c2e6 | 2012-09-17 11:58:19 -0500 | [diff] [blame] | 4 | */ |
| 5 | #ifndef _H_JFS_DISCARD |
| 6 | #define _H_JFS_DISCARD |
| 7 | |
| 8 | struct fstrim_range; |
| 9 | |
| 10 | extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks); |
| 11 | extern int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range); |
| 12 | |
| 13 | #endif /* _H_JFS_DISCARD */ |