On Fri, Jun 19, 2015 at 11:49:20AM +0800, Qu Wenruo wrote: > Some unknown kernel bug makes inode nbytes modification out of sync with > file extent update. > > But it's quite easy to fix in btrfs-progs anyway. > > So just fix it by adding a new function repair_inode_nbytes by using the > found_size in inode_record.
Please provide a test, either a crafted image or extend the corrupt-block utility to corrupt the nbytes value on the fly. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html