mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
9acb9c48b9
Remove the now unused generic_block_fiemap helper. Link: https://lore.kernel.org/r/20210720133341.405438-5-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
21 lines
713 B
C
21 lines
713 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_FIEMAP_H
|
|
#define _LINUX_FIEMAP_H 1
|
|
|
|
#include <uapi/linux/fiemap.h>
|
|
#include <linux/fs.h>
|
|
|
|
struct fiemap_extent_info {
|
|
unsigned int fi_flags; /* Flags as passed from user */
|
|
unsigned int fi_extents_mapped; /* Number of mapped extents */
|
|
unsigned int fi_extents_max; /* Size of fiemap_extent array */
|
|
struct fiemap_extent __user *fi_extents_start; /* Start of
|
|
fiemap_extent array */
|
|
};
|
|
|
|
int fiemap_prep(struct inode *inode, struct fiemap_extent_info *fieinfo,
|
|
u64 start, u64 *len, u32 supported_flags);
|
|
int fiemap_fill_next_extent(struct fiemap_extent_info *info, u64 logical,
|
|
u64 phys, u64 len, u32 flags);
|
|
|
|
#endif /* _LINUX_FIEMAP_H 1 */
|