* xdirentry.h (vfs_s_super): Add control_connection_buzy
commit09bad78c80cd5da74b0a2642cffe2f9d6b7e5793
authorAndrew V. Samoilov <sav@bcs.zp.ua>
Fri, 17 May 2002 13:32:02 +0000 (17 13:32 +0000)
committerAndrew V. Samoilov <sav@bcs.zp.ua>
Fri, 17 May 2002 13:32:02 +0000 (17 13:32 +0000)
tree865eb2d7f51b770a8a5ca024abca4d1ed1037fba
parent05a0bd1240d9313ce4d280c2aff53f0d34e33709
* xdirentry.h (vfs_s_super): Add control_connection_buzy
field to ftp struct.

* ftpfs.c (linear_start): Set control_connection_buzy.
(linear_abort): Unset control_connection_buzy.
(ftpfs_fh_open): Don't retrieve file if it is
opened for writting only.  Open data connection as
fh->handle and unlink/unset local temporary file
if control connection isn't buzy.
(ftpfs_fh_close): New function to serve opened in
ftpfs_fh_open() data connection.  Unset fh->changed
to prevent MEDATA->file_store() call from vfs_s_close().
vfs/ChangeLog
vfs/ftpfs.c
vfs/xdirentry.h