summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_discard.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/jfs_discard.h')
-rw-r--r--fs/jfs/jfs_discard.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/jfs/jfs_discard.h b/fs/jfs/jfs_discard.h
new file mode 100644
index 0000000000..05215fa27e
--- /dev/null
+++ b/fs/jfs/jfs_discard.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) Tino Reichardt, 2012
+ */
+#ifndef _H_JFS_DISCARD
+#define _H_JFS_DISCARD
+
+struct fstrim_range;
+
+extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks);
+extern int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range);
+
+#endif /* _H_JFS_DISCARD */