diff options
Diffstat (limited to 'lib/modules')
-rw-r--r-- | lib/modules/iconv.c | 12 | ||||
-rw-r--r-- | lib/modules/subdir.c | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/modules/iconv.c b/lib/modules/iconv.c index 89b22e4..9b78cfd 100644 --- a/lib/modules/iconv.c +++ b/lib/modules/iconv.c @@ -170,7 +170,7 @@ static int iconv_opendir(const char *path, struct fuse_file_info *fi) } static int iconv_dir_fill(void *buf, const char *name, - const struct stat *stbuf, off_t off) + const struct stat *stbuf, loff_t off) { struct iconv_dh *dh = buf; char *newname; @@ -183,7 +183,7 @@ static int iconv_dir_fill(void *buf, const char *name, } static int iconv_readdir(const char *path, void *buf, fuse_fill_dir_t filler, - off_t offset, struct fuse_file_info *fi) + loff_t offset, struct fuse_file_info *fi) { struct iconv *ic = iconv_get(); char *newpath; @@ -335,7 +335,7 @@ static int iconv_chown(const char *path, uid_t uid, gid_t gid) return err; } -static int iconv_truncate(const char *path, off_t size) +static int iconv_truncate(const char *path, loff_t size) { struct iconv *ic = iconv_get(); char *newpath; @@ -347,7 +347,7 @@ static int iconv_truncate(const char *path, off_t size) return err; } -static int iconv_ftruncate(const char *path, off_t size, +static int iconv_ftruncate(const char *path, loff_t size, struct fuse_file_info *fi) { struct iconv *ic = iconv_get(); @@ -398,7 +398,7 @@ static int iconv_open_file(const char *path, struct fuse_file_info *fi) } static int iconv_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 iconv *ic = iconv_get(); char *newpath; @@ -411,7 +411,7 @@ static int iconv_read_buf(const char *path, struct fuse_bufvec **bufp, } static int iconv_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 iconv *ic = iconv_get(); char *newpath; 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; |