1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

vfs_glusterfs: Add white space so vfs_glusterfs_pread_send and vfs_glusterfs_pwrite_send match.

These two functions are basically the same thing, so they should be
formatted the same.

Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ira Cooper 2015-12-11 07:37:53 -05:00 committed by Jeremy Allison
parent 640ecbbcd0
commit 8d3b9009e5

View File

@ -691,10 +691,10 @@ static struct tevent_req *vfs_gluster_pread_send(struct vfs_handle_struct
tevent_req_error(req, EIO);
return tevent_req_post(req, ev);
}
ret = glfs_pread_async(*(glfs_fd_t **)VFS_FETCH_FSP_EXTENSION(handle,
fsp), data, n, offset, 0, aio_glusterfs_done,
state);
if (ret < 0) {
tevent_req_error(req, -ret);
return tevent_req_post(req, ev);
@ -739,6 +739,7 @@ static struct tevent_req *vfs_gluster_pwrite_send(struct vfs_handle_struct
tevent_req_error(req, EIO);
return tevent_req_post(req, ev);
}
ret = glfs_pwrite_async(*(glfs_fd_t **)VFS_FETCH_FSP_EXTENSION(handle,
fsp), data, n, offset, 0, aio_glusterfs_done,
state);
@ -746,6 +747,7 @@ static struct tevent_req *vfs_gluster_pwrite_send(struct vfs_handle_struct
tevent_req_error(req, -ret);
return tevent_req_post(req, ev);
}
return req;
}