diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-11 19:14:27 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-11 19:14:27 +0000 |
commit | 1654faee80648583e6a47ab7eda990fefdf85124 (patch) | |
tree | 8c4f23b02ba83e710f0ffd029e5afb83d83720b1 /source/smbd/blocking.c | |
parent | 36544fe5476f7770bd5748574fc54be7b3ee4d4a (diff) | |
download | samba-1654faee80648583e6a47ab7eda990fefdf85124.tar.gz samba-1654faee80648583e6a47ab7eda990fefdf85124.tar.xz samba-1654faee80648583e6a47ab7eda990fefdf85124.zip |
Ok - this is the 'expose 64 bit to the clients' checkin.
I have tested it by creating a 'holey' 20GB file - checking that
it shows up correctl in the NT file view (it does) and am busily
copying it to NULL: on the NT box. All good so far.... :-).
Also implemented NT 'delete on close' semantics.
Jeremy.
Diffstat (limited to 'source/smbd/blocking.c')
-rw-r--r-- | source/smbd/blocking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/blocking.c b/source/smbd/blocking.c index 051e276ca76..27a51839529 100644 --- a/source/smbd/blocking.c +++ b/source/smbd/blocking.c @@ -222,7 +222,7 @@ static void reply_lockingX_error(blocking_lock_record *blr, int eclass, int32 ec offset = (((SMB_OFF_T) IVAL(data,SMB_LARGE_LKOFF_OFFSET_HIGH(i))) << 32) | ((SMB_OFF_T) IVAL(data,SMB_LARGE_LKOFF_OFFSET_LOW(i))); } -#endif +#endif /* LARGE_SMB_OFF_T */ do_unlock(fsp,conn,count,offset,&dummy1,&dummy2); } @@ -412,7 +412,7 @@ static BOOL process_lockingX(blocking_lock_record *blr) offset = (((SMB_OFF_T) IVAL(data,SMB_LARGE_LKOFF_OFFSET_HIGH(blr->lock_num))) << 32) | ((SMB_OFF_T) IVAL(data,SMB_LARGE_LKOFF_OFFSET_LOW(blr->lock_num))); } -#endif +#endif /* LARGE_SMB_OFF_T */ errno = 0; if(!do_lock(fsp,conn,count,offset, ((locktype & 1) ? F_RDLCK : F_WRLCK), &eclass, &ecode)) |