diff options
author | Jeremy Allison <jra@samba.org> | 2003-08-14 21:16:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-08-14 21:16:06 +0000 |
commit | 4e8b36a5749f4801022617b8fec1fe5d48529fef (patch) | |
tree | 8075e7b7c5ca55b0ae5e82fe9fc9de9b551763fb /source3/smbd/open.c | |
parent | 11777e6a3085a996ab2c5fa3db34d8834401c24e (diff) | |
download | samba-4e8b36a5749f4801022617b8fec1fe5d48529fef.tar.gz samba-4e8b36a5749f4801022617b8fec1fe5d48529fef.tar.bz2 samba-4e8b36a5749f4801022617b8fec1fe5d48529fef.zip |
Fix SMBseek and get/set position information SMBs. Works against
Samba4 tester. You will need a make clean; make all after this !
Jeremy.
(This used to be commit 10d90171ed58bee3e5ab6476341059b585034134)
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r-- | source3/smbd/open.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 2c9d3290d8..06f1ddfcf2 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -227,7 +227,6 @@ static BOOL open_file(files_struct *fsp,connection_struct *conn, fsp->dev = psbuf->st_dev; fsp->vuid = current_user.vuid; fsp->size = psbuf->st_size; - fsp->pos = -1; fsp->can_lock = True; fsp->can_read = ((flags & O_WRONLY)==0); fsp->can_write = ((flags & (O_WRONLY|O_RDWR))!=0); @@ -1362,7 +1361,6 @@ files_struct *open_directory(connection_struct *conn, char *fname, SMB_STRUCT_ST fsp->dev = psbuf->st_dev; fsp->size = psbuf->st_size; fsp->vuid = current_user.vuid; - fsp->pos = -1; fsp->can_lock = True; fsp->can_read = False; fsp->can_write = False; @@ -1425,7 +1423,6 @@ files_struct *open_file_stat(connection_struct *conn, char *fname, SMB_STRUCT_ST fsp->dev = (SMB_DEV_T)0; fsp->size = psbuf->st_size; fsp->vuid = current_user.vuid; - fsp->pos = -1; fsp->can_lock = False; fsp->can_read = False; fsp->can_write = False; |