diff --git a/libtransmission/inout.c b/libtransmission/inout.c index dea0b2450..3bcf5adc1 100644 --- a/libtransmission/inout.c +++ b/libtransmission/inout.c @@ -15,10 +15,6 @@ #include /* realloc */ #include /* memcmp */ -#include -#include -#include - #include #include "transmission.h" @@ -117,18 +113,6 @@ readOrWriteBytes( tr_session * session, tr_free( subpath ); } - /* check that the file corresponding to 'fd' still exists */ - if( fd >= 0 ) - { - struct stat sb; - - if( !fstat( fd, &sb ) && sb.st_nlink < 1 ) - { - tr_torrentSetLocalError( tor, "Please Verify Local Data! A file disappeared: \"%s\"", file->name ); - err = ENOENT; - } - } - if( !err ) { if( ioMode == TR_IO_READ ) {