diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs-fops.c | 4 | ||||
-rw-r--r-- | api/src/glfs.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index 10bb7d38b4d..93c5101a015 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -1877,7 +1877,7 @@ glfs_discard_async (struct glfs_fd *glfd, off_t offset, size_t len, } int -glfs_zerofill_async (struct glfs_fd *glfd, off_t offset, size_t len, +glfs_zerofill_async (struct glfs_fd *glfd, off_t offset, off_t len, glfs_io_cbk fn, void *data) { struct glfs_io *gio = NULL; @@ -2927,7 +2927,7 @@ out: } int -glfs_zerofill (struct glfs_fd *glfd, off_t offset, size_t len) +glfs_zerofill (struct glfs_fd *glfd, off_t offset, off_t len) { int ret = -1; xlator_t *subvol = NULL; diff --git a/api/src/glfs.h b/api/src/glfs.h index 18fda496ea2..bf298ce47a6 100644 --- a/api/src/glfs.h +++ b/api/src/glfs.h @@ -556,9 +556,9 @@ int glfs_discard(glfs_fd_t *fd, off_t offset, size_t len); int glfs_discard_async (glfs_fd_t *fd, off_t length, size_t lent, glfs_io_cbk fn, void *data); -int glfs_zerofill(glfs_fd_t *fd, off_t offset, size_t len); +int glfs_zerofill(glfs_fd_t *fd, off_t offset, off_t len); -int glfs_zerofill_async (glfs_fd_t *fd, off_t length, size_t len, +int glfs_zerofill_async (glfs_fd_t *fd, off_t length, off_t len, glfs_io_cbk fn, void *data); char *glfs_getcwd (glfs_t *fs, char *buf, size_t size); |