From 5ff5519435eed9c98b4d9e304ed5d59a5fd30b6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Sun, 14 Oct 2012 20:20:01 +0200 Subject: [PATCH] Don't pass fuse_file_info to sparsebundle_iterate_bands --- sparsebundlefs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sparsebundlefs.cpp b/sparsebundlefs.cpp index c61a059..da5842f 100644 --- a/sparsebundlefs.cpp +++ b/sparsebundlefs.cpp @@ -85,7 +85,7 @@ struct sparsebundle_read_operations { }; static int sparsebundle_iterate_bands(const char *path, size_t length, off_t offset, - struct fuse_file_info *fi, struct sparsebundle_read_operations *read_ops) + struct sparsebundle_read_operations *read_ops) { if (strcmp(path, image_path) != 0) return -ENOENT; @@ -192,7 +192,7 @@ static int sparsebundle_read(const char *path, char *buffer, size_t length, off_ syslog(LOG_DEBUG, "asked to read %zu bytes at offset %llu", length, offset); - return sparsebundle_iterate_bands(path, length, offset, fi, &read_ops); + return sparsebundle_iterate_bands(path, length, offset, &read_ops); } static int sparsebundle_release(const char *path, struct fuse_file_info *fi)