Skip to content

Commit

Permalink
Merge pull request #2605 from Lalufu/lalufu/bugfix-glusterfs-io-callback
Browse files Browse the repository at this point in the history
Update glusterfs io callback function signature
  • Loading branch information
xrmx authored Feb 10, 2024
2 parents 5d13955 + ec7afe0 commit ee46b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/glusterfs/glusterfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct uwsgi_glusterfs_async_io {
ssize_t rlen;
};

static void uwsgi_glusterfs_read_async_cb(glfs_fd_t *fd, ssize_t rlen, void *data) {
static void uwsgi_glusterfs_read_async_cb(glfs_fd_t *fd, ssize_t rlen, struct glfs_stat *prestat, struct glfs_stat *poststat, void *data) {
struct uwsgi_glusterfs_async_io *aio = (struct uwsgi_glusterfs_async_io *) data;
#ifdef UWSGI_DEBUG
uwsgi_log("[glusterfs-cb] rlen = %d\n", rlen);
Expand Down

0 comments on commit ee46b79

Please sign in to comment.