-------- Original Message --------
Subject: Re: [PATCH 2/3] btrfs-progs:fsck: Recover btree with some corrupted leaf/node.
From: Qu Wenruo <quwen...@cn.fujitsu.com>
To: dste...@suse.cz, linux-btrfs@vger.kernel.org
Date: 2014年12月05日 08:22

-------- Original Message --------
Subject: Re: [PATCH 2/3] btrfs-progs:fsck: Recover btree with some corrupted leaf/node.
From: David Sterba <dste...@suse.cz>
To: Qu Wenruo <quwen...@cn.fujitsu.com>
Date: 2014年12月05日 01:35
On Thu, Dec 04, 2014 at 10:52:44AM +0800, Qu Wenruo wrote:
+    trans = btrfs_start_transaction(root, -1);
What does '-1' mean here? I've never seen this before, just curious.
I'am not completely sure, but when deleting item, num_blocks will be minus or still 1?

Thanks,
Qu
Oh, no, I got it confused with btrfs_search_slot...
start_transcation should only accept positive value.

I'll update the patch with your other comment.

Sorry for the mistake.

Thanks for your reviewing.
Qu
--
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

Reply via email to