summaryrefslogtreecommitdiffstats
path: root/exfat/fuse/main.c
diff options
context:
space:
mode:
authorSpegelius <spegelius@gmail.com>2014-11-23 14:15:06 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-12-23 18:50:35 +0100
commitd69ac2b18baf0b62f62e0f8b19a861efb7ce536a (patch)
treed67ff95ff3fb81732287d5cbf512e07eb94904a9 /exfat/fuse/main.c
parentfuse: Update to 2.9.4 (diff)
downloadandroid_bootable_recovery-d69ac2b18baf0b62f62e0f8b19a861efb7ce536a.tar
android_bootable_recovery-d69ac2b18baf0b62f62e0f8b19a861efb7ce536a.tar.gz
android_bootable_recovery-d69ac2b18baf0b62f62e0f8b19a861efb7ce536a.tar.bz2
android_bootable_recovery-d69ac2b18baf0b62f62e0f8b19a861efb7ce536a.tar.lz
android_bootable_recovery-d69ac2b18baf0b62f62e0f8b19a861efb7ce536a.tar.xz
android_bootable_recovery-d69ac2b18baf0b62f62e0f8b19a861efb7ce536a.tar.zst
android_bootable_recovery-d69ac2b18baf0b62f62e0f8b19a861efb7ce536a.zip
Diffstat (limited to 'exfat/fuse/main.c')
-rw-r--r--exfat/fuse/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/exfat/fuse/main.c b/exfat/fuse/main.c
index aad082b68..30958f69f 100644
--- a/exfat/fuse/main.c
+++ b/exfat/fuse/main.c
@@ -74,7 +74,7 @@ static int fuse_exfat_getattr(const char* path, struct stat* stbuf)
return 0;
}
-static int fuse_exfat_truncate(const char* path, off_t size)
+static int fuse_exfat_truncate(const char* path, loff_t size)
{
struct exfat_node* node;
int rc;
@@ -98,7 +98,7 @@ static int fuse_exfat_truncate(const char* path, off_t size)
}
static int fuse_exfat_readdir(const char* path, void* buffer,
- fuse_fill_dir_t filler, off_t offset, struct fuse_file_info* fi)
+ fuse_fill_dir_t filler, loff_t offset, struct fuse_file_info* fi)
{
struct exfat_node* parent;
struct exfat_node* node;
@@ -216,7 +216,7 @@ static int fuse_exfat_fsync(const char* path, int datasync,
}
static int fuse_exfat_read(const char* path, char* buffer, size_t size,
- off_t offset, struct fuse_file_info* fi)
+ loff_t offset, struct fuse_file_info* fi)
{
ssize_t ret;
@@ -228,7 +228,7 @@ static int fuse_exfat_read(const char* path, char* buffer, size_t size,
}
static int fuse_exfat_write(const char* path, const char* buffer, size_t size,
- off_t offset, struct fuse_file_info* fi)
+ loff_t offset, struct fuse_file_info* fi)
{
ssize_t ret;