diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-24 13:58:02 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-24 13:58:46 +1030 |
commit | c202dc9705cf87542094ee1930e5dab9923c605b (patch) | |
tree | 7785cde10c7c614cfe25af4a03e2935d61831a4f | |
parent | 068e0e2b38fb109eb1d1306c6d74bfa86ec0c4b8 (diff) | |
download | samba-c202dc9705cf87542094ee1930e5dab9923c605b.tar.gz samba-c202dc9705cf87542094ee1930e5dab9923c605b.tar.bz2 samba-c202dc9705cf87542094ee1930e5dab9923c605b.zip |
Revert "vfs_btrfs: fix compile on 32-bit platforms."
This reverts commit fd6d0361d6fef5f8175967ddbae4a2b1d79dfcad.
Unreviewed, and Andrew has a better fix.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | source3/modules/vfs_btrfs.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/modules/vfs_btrfs.c b/source3/modules/vfs_btrfs.c index eed5456021..660bc68063 100644 --- a/source3/modules/vfs_btrfs.c +++ b/source3/modules/vfs_btrfs.c @@ -117,9 +117,9 @@ static struct tevent_req *btrfs_copy_chunk_send(struct vfs_handle_struct *handle */ DEBUG(5, ("BTRFS_IOC_CLONE_RANGE failed: %s, length %lu, " "src fd: %ld off: %lu, dest fd: %d off: %lu\n", - strerror(errno), (long)cr_args.src_length, - (long)cr_args.src_fd, (long)cr_args.src_offset, - dest_fsp->fh->fd, (long)cr_args.dest_offset)); + strerror(errno), cr_args.src_length, + cr_args.src_fd, cr_args.src_offset, + dest_fsp->fh->fd, cr_args.dest_offset)); cc_state->subreq = SMB_VFS_NEXT_COPY_CHUNK_SEND(handle, cc_state, ev, src_fsp, @@ -177,8 +177,7 @@ static NTSTATUS btrfs_copy_chunk_recv(struct vfs_handle_struct *handle, return status; } - DEBUG(10, ("server side copy chunk copied %lu\n", - (long)cc_state->copied)); + DEBUG(10, ("server side copy chunk copied %lu\n", cc_state->copied)); *copied = cc_state->copied; tevent_req_received(req); return NT_STATUS_OK; |