* [PATCH v2 2/3] btrfs-progs: map-logical: Use btrfs_next_extent_item()
@ 2018-06-07 7:20 james harvey
2018-06-07 8:50 ` Su Yue
2018-07-18 14:00 ` David Sterba
0 siblings, 2 replies; 3+ messages in thread
From: james harvey @ 2018-06-07 7:20 UTC (permalink / raw)
To: Btrfs BTRFS
btrfs_next_extent_item() looks for BTRFS_EXTENT_ITEM_KEY and BTRFS_METADATA_KEY,
which are the types we're looking for.
Signed-off-by: James Harvey <jamespharvey20@gmail.com>
---
btrfs-map-logical.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c
index 2451012b..8a41b037 100644
--- a/btrfs-map-logical.c
+++ b/btrfs-map-logical.c
@@ -83,7 +83,8 @@ again:
ret = btrfs_previous_extent_item(fs_info->extent_root,
path, 0);
else
- ret = btrfs_next_item(fs_info->extent_root, path);
+ ret = btrfs_next_extent_item(fs_info->extent_root,
+ path);
if (ret)
goto out;
goto again;
--
2.17.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 2/3] btrfs-progs: map-logical: Use btrfs_next_extent_item()
2018-06-07 7:20 [PATCH v2 2/3] btrfs-progs: map-logical: Use btrfs_next_extent_item() james harvey
@ 2018-06-07 8:50 ` Su Yue
2018-07-18 14:00 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: Su Yue @ 2018-06-07 8:50 UTC (permalink / raw)
To: james harvey, Btrfs BTRFS
On 06/07/2018 03:20 PM, james harvey wrote:
> btrfs_next_extent_item() looks for BTRFS_EXTENT_ITEM_KEY and BTRFS_METADATA_KEY,
> which are the types we're looking for.
>
> Signed-off-by: James Harvey <jamespharvey20@gmail.com>
Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com>
> ---
> btrfs-map-logical.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c
> index 2451012b..8a41b037 100644
> --- a/btrfs-map-logical.c
> +++ b/btrfs-map-logical.c
> @@ -83,7 +83,8 @@ again:
> ret = btrfs_previous_extent_item(fs_info->extent_root,
> path, 0);
> else
> - ret = btrfs_next_item(fs_info->extent_root, path);
> + ret = btrfs_next_extent_item(fs_info->extent_root,
> + path);
> if (ret)
> goto out;
> goto again;
> --
> 2.17.0
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 2/3] btrfs-progs: map-logical: Use btrfs_next_extent_item()
2018-06-07 7:20 [PATCH v2 2/3] btrfs-progs: map-logical: Use btrfs_next_extent_item() james harvey
2018-06-07 8:50 ` Su Yue
@ 2018-07-18 14:00 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2018-07-18 14:00 UTC (permalink / raw)
To: james harvey; +Cc: Btrfs BTRFS
On Thu, Jun 07, 2018 at 03:20:02AM -0400, james harvey wrote:
> btrfs_next_extent_item() looks for BTRFS_EXTENT_ITEM_KEY and BTRFS_METADATA_KEY,
> which are the types we're looking for.
>
> Signed-off-by: James Harvey <jamespharvey20@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-18 14:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07 7:20 [PATCH v2 2/3] btrfs-progs: map-logical: Use btrfs_next_extent_item() james harvey
2018-06-07 8:50 ` Su Yue
2018-07-18 14:00 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.