Bug #1889: fix in fsck, thanks to Rolandas Naujikas