- if (dev->readChunkWithTagsFromNAND)
- return dev->readChunkWithTagsFromNAND(dev, chunkInNAND, buffer,
+ /* If there are no tags provided, use local tags to get prioritised gc working */
+ if (!tags)
+ tags = &localTags;
+
+ if (dev->param.read_chunk_tags_fn)
+ result = dev->param.read_chunk_tags_fn(dev, realignedChunkInNAND, buffer,