Fix compiler error on native AIO.

This commit is contained in:
Jan Lindström 2017-01-24 15:10:45 +02:00
parent 51b248cfdd
commit 8368044997

View file

@ -1883,7 +1883,6 @@ LinuxAIOHandler::collect()
/* Deallocate unused blocks from file system. /* Deallocate unused blocks from file system.
This is newer done to page 0 or to log files.*/ This is newer done to page 0 or to log files.*/
if (slot->offset > 0 if (slot->offset > 0
&& !slot->skip_punch_hole
&& !slot->type.is_log() && !slot->type.is_log()
&& slot->type.is_write() && slot->type.is_write()
&& slot->type.punch_hole()) { && slot->type.punch_hole()) {