* fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)

for clearness.
	* fhandler_disk_file.cc (fhandler_base::fstat_fs): Revert previous
	change.
	(fhandler_base::open_fs): Ditto.
	* fhandler_socket.cc (fhandler_socket::close): Ditto.
This commit is contained in:
Corinna Vinschen
2007-08-13 19:15:47 +00:00
parent a9a6f94229
commit deafd19cea
4 changed files with 12 additions and 5 deletions

View File

@ -1391,9 +1391,6 @@ fhandler_socket::close ()
{
int res = 0;
if (get_device () == FH_UNIX)
return fhandler_base::close ();
/* HACK to allow a graceful shutdown even if shutdown() hasn't been
called by the application. Note that this isn't the ultimate
solution but it helps in many cases. */