summaryrefslogtreecommitdiff
path: root/source3/smbd/blocking.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-11 19:14:27 +0000
committerJeremy Allison <jra@samba.org>1998-09-11 19:14:27 +0000
commit27d0bef143fbc4d7547c022046c094bbdbd0bfc1 (patch)
tree884cadd16fda29312e86a9d19b2bfb1562ff7530 /source3/smbd/blocking.c
parent06cc91f9a631a23dcd4902d710b89e4b7584c459 (diff)
downloadsamba-27d0bef143fbc4d7547c022046c094bbdbd0bfc1.tar.gz
samba-27d0bef143fbc4d7547c022046c094bbdbd0bfc1.tar.bz2
samba-27d0bef143fbc4d7547c022046c094bbdbd0bfc1.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. (This used to be commit 1654faee80648583e6a47ab7eda990fefdf85124)
Diffstat (limited to 'source3/smbd/blocking.c')
-rw-r--r--source3/smbd/blocking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index 051e276ca7..27a5183952 100644
--- a/source3/smbd/blocking.c
+++ b/source3/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))