diff options
author | Spegelius <spegelius@gmail.com> | 2014-11-23 15:19:10 +0200 |
---|---|---|
committer | Spegelius <spegelius@gmail.com> | 2014-11-23 15:19:10 +0200 |
commit | 81b1cc26b41b25afd2d8e09dce1bad4969016066 (patch) | |
tree | cae54d79331460e923279431582bce9ef405bbeb /lib/modules/subdir.c | |
parent | 04950575c363570aefba125fb774dbf91354844a (diff) | |
download | android_external_fuse-stable/cm-12.1-YOG4P.tar.gz android_external_fuse-stable/cm-12.1-YOG4P.tar.bz2 android_external_fuse-stable/cm-12.1-YOG4P.zip |
Changed off_t to loff_tstaging/cm-12.1stable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Cstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Icm-12.1cm-12.0
- off_t is long, loff_t is long long (32bit vs. 64bit)
- loff_t required by exfat at least so fuse needs to have it also
Change-Id: I76a4e4cc1af9b85cd0bed2bb220723e959b1a04f
Diffstat (limited to 'lib/modules/subdir.c')
-rw-r--r-- | lib/modules/subdir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/modules/subdir.c b/lib/modules/subdir.c index 76a53fa..05b3379 100644 --- a/lib/modules/subdir.c +++ b/lib/modules/subdir.c @@ -178,7 +178,7 @@ static int subdir_opendir(const char *path, struct fuse_file_info *fi) } static int subdir_readdir(const char *path, void *buf, - fuse_fill_dir_t filler, off_t offset, + fuse_fill_dir_t filler, loff_t offset, struct fuse_file_info *fi) { struct subdir *d = subdir_get(); @@ -322,7 +322,7 @@ static int subdir_chown(const char *path, uid_t uid, gid_t gid) return err; } -static int subdir_truncate(const char *path, off_t size) +static int subdir_truncate(const char *path, loff_t size) { struct subdir *d = subdir_get(); char *newpath; @@ -334,7 +334,7 @@ static int subdir_truncate(const char *path, off_t size) return err; } -static int subdir_ftruncate(const char *path, off_t size, +static int subdir_ftruncate(const char *path, loff_t size, struct fuse_file_info *fi) { struct subdir *d = subdir_get(); @@ -385,7 +385,7 @@ static int subdir_open(const char *path, struct fuse_file_info *fi) } static int subdir_read_buf(const char *path, struct fuse_bufvec **bufp, - size_t size, off_t offset, struct fuse_file_info *fi) + size_t size, loff_t offset, struct fuse_file_info *fi) { struct subdir *d = subdir_get(); char *newpath; @@ -398,7 +398,7 @@ static int subdir_read_buf(const char *path, struct fuse_bufvec **bufp, } static int subdir_write_buf(const char *path, struct fuse_bufvec *buf, - off_t offset, struct fuse_file_info *fi) + loff_t offset, struct fuse_file_info *fi) { struct subdir *d = subdir_get(); char *newpath; |