Re: [PATCH 2/3] btrfs-progs:fsck: Recover btree with some corrupted leaf/node.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-------- Original Message --------
Subject: Re: [PATCH 2/3] btrfs-progs:fsck: Recover btree with some corrupted leaf/node.
From: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>
To: dsterba@xxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx
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 <dsterba@xxxxxxx>
To: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux