Add a basic inode item rebuild function for I_ERR_NO_INODE_ITEM.
The main use case is to repair btrfs which fs root has corrupted leaf,
but it is already working for case if the corrupteed fs root leaf/node
contains no inode extent_data.
The repair needs 3 elements for inode rebuild:
1. inode numb
On Thu, Dec 04, 2014 at 10:52:45AM +0800, Qu Wenruo wrote:
> + namelen = (u16)log10(rec->ino) + 1;
Please get rid of log10 and count the digits without the math library.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger