From 708b4818f2d0b9a1e277de85a00a0355745a5cd0 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sat, 30 Sep 2006 16:02:25 +0000 Subject: bmap support --- include/fuse.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index 8237422..797f225 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -408,6 +408,16 @@ struct fuse_operations { * Introduced in version 2.6 */ int (*utimens) (const char *, const struct timespec tv[2]); + + /** + * Map block index within file to block index within device + * + * Note: This makes sense only for block device backed filesystems + * mounted with the 'blkdev' option + * + * Introduced in version 2.6 + */ + int (*bmap) (const char *, size_t blocksize, uint64_t *idx); }; /** Extra context that may be needed by some filesystems -- cgit v1.2.3