diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 14:53:08 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-06 01:47:43 +0200 |
commit | 6aa12fcb30c8f7246fd0215b1d808191c0d87668 (patch) | |
tree | 92eb805ea2ed03b1e42f6ce55ca26a65a92761fb /source3/modules/vfs_readahead.c | |
parent | 48166468fe3ca515dae3431bbe674809489f743c (diff) | |
download | samba-6aa12fcb30c8f7246fd0215b1d808191c0d87668.tar.gz samba-6aa12fcb30c8f7246fd0215b1d808191c0d87668.tar.bz2 samba-6aa12fcb30c8f7246fd0215b1d808191c0d87668.zip |
build: Remove SMB_OFF_T, replace with off_t
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/modules/vfs_readahead.c')
-rw-r--r-- | source3/modules/vfs_readahead.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_readahead.c b/source3/modules/vfs_readahead.c index b48d95faa9..8cb85c7561 100644 --- a/source3/modules/vfs_readahead.c +++ b/source3/modules/vfs_readahead.c @@ -24,8 +24,8 @@ ssize_t readahead(int fd, off_t offset, size_t count); #endif struct readahead_data { - SMB_OFF_T off_bound; - SMB_OFF_T len; + off_t off_bound; + off_t len; bool didmsg; }; @@ -43,7 +43,7 @@ static ssize_t readahead_sendfile(struct vfs_handle_struct *handle, int tofd, files_struct *fromfsp, const DATA_BLOB *header, - SMB_OFF_T offset, + off_t offset, size_t count) { struct readahead_data *rhd = (struct readahead_data *)handle->data; @@ -86,7 +86,7 @@ static ssize_t readahead_pread(vfs_handle_struct *handle, files_struct *fsp, void *data, size_t count, - SMB_OFF_T offset) + off_t offset) { struct readahead_data *rhd = (struct readahead_data *)handle->data; |