search for: 2c2eb57

Displaying 2 results from an estimated 2 matches for "2c2eb57".

2015 Feb 21
5
[PATCH v2 0/4] btrfs: add support to btrfs inspect-internal
This series adds new APIs to support btrfs inspect-internal. v2: - use full name of btrfs command as inspect-internal Hu Tao (4): New API: btrfs_inspect_internal_rootid New API: btrfs_inspect_internal_subvolid_resolve New API: btrfs_inspect_internal_inode_resolve New API: btrfs_inspect_internal_logical_resolve daemon/btrfs.c | 161
2015 Feb 21
0
[PATCH v2 4/4] New API: btrfs_inspect_internal_logical_resolve
...-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/btrfs.c | 41 +++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 10 ++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 2c2eb57..d84c28e 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2049,3 +2049,44 @@ do_btrfs_inspect_internal_inode_resolve (int64_t inode, const char *fs) return out; } + +char * +do_btrfs_inspect_internal_logical_resolve (int64_t logical, const char *fs) +{ + const size_t MAX_ARGS = 64; + co...