summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_discard.h
blob: 05215fa27ebb9239c903b21582fe5518147dac94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 */