make io offset unsigned
This commit is contained in:
parent
294f30baec
commit
0322f53cce
3 changed files with 4 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ static int parse_rw(unsigned char *buffer, uint32_t length, nfs41_upcall *upcall
|
||||||
status = safe_read(&buffer, &length, &args->buffer, sizeof(args->buffer));
|
status = safe_read(&buffer, &length, &args->buffer, sizeof(args->buffer));
|
||||||
if (status) goto out;
|
if (status) goto out;
|
||||||
|
|
||||||
dprintf(1, "parsing %s len=%ld offset=%ld buf=%p\n",
|
dprintf(1, "parsing %s len=%lu offset=%llu buf=%p\n",
|
||||||
opcode2string(upcall->opcode), args->len, args->offset, args->buffer);
|
opcode2string(upcall->opcode), args->len, args->offset, args->buffer);
|
||||||
out:
|
out:
|
||||||
return status;
|
return status;
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ typedef struct __close_upcall_args {
|
||||||
|
|
||||||
typedef struct __readwrite_upcall_args {
|
typedef struct __readwrite_upcall_args {
|
||||||
unsigned char *buffer;
|
unsigned char *buffer;
|
||||||
LONGLONG offset;
|
ULONGLONG offset;
|
||||||
ULONG len;
|
ULONG len;
|
||||||
ULONG out_len;
|
ULONG out_len;
|
||||||
ULONGLONG ctime;
|
ULONGLONG ctime;
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,7 @@ typedef struct _updowncall_entry {
|
||||||
struct {
|
struct {
|
||||||
PMDL MdlAddress;
|
PMDL MdlAddress;
|
||||||
PVOID buf;
|
PVOID buf;
|
||||||
LONGLONG offset;
|
ULONGLONG offset;
|
||||||
ULONG len;
|
ULONG len;
|
||||||
PRX_CONTEXT rxcontext;
|
PRX_CONTEXT rxcontext;
|
||||||
ULONGLONG ChangeTime;
|
ULONGLONG ChangeTime;
|
||||||
|
|
@ -743,7 +743,7 @@ NTSTATUS marshal_nfs41_rw(
|
||||||
*len = header_len;
|
*len = header_len;
|
||||||
|
|
||||||
#ifdef DEBUG_MARSHAL_DETAIL
|
#ifdef DEBUG_MARSHAL_DETAIL
|
||||||
DbgP("marshal_nfs41_rw: len=%u offset=%lu MdlAddress=%p Userspace=%p\n",
|
DbgP("marshal_nfs41_rw: len=%lu offset=%llu MdlAddress=%p Userspace=%p\n",
|
||||||
entry->u.ReadWrite.len, entry->u.ReadWrite.offset,
|
entry->u.ReadWrite.len, entry->u.ReadWrite.offset,
|
||||||
entry->u.ReadWrite.MdlAddress, entry->u.ReadWrite.buf);
|
entry->u.ReadWrite.MdlAddress, entry->u.ReadWrite.buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue