[Libguestfs] [PATCH 0/3] New API: find_inode

Matteo Cafasso noxdafox at gmail.com
Wed Aug 24 20:59:53 UTC 2016


The find_inode API allows the User to search all the entries referring
to a given inode and returns a tsk_dirent structure for each of them.

As I didn't want to change unrelated code, there is a little bit
of code duplication at the moment. Plan is to refactor the logic
in a dedicated set of patches.

Matteo Cafasso (3):
  New API: internal_find_inode
  New API: find_inode
  find_inode: added API tests

 daemon/tsk.c                 | 75 ++++++++++++++++++++++++++++++++++++++++++++
 generator/actions.ml         | 21 +++++++++++++
 src/MAX_PROC_NR              |  2 +-
 src/tsk.c                    | 26 +++++++++++++++
 tests/tsk/Makefile.am        |  3 +-
 tests/tsk/test-find-inode.sh | 66 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 191 insertions(+), 2 deletions(-)
 create mode 100755 tests/tsk/test-find-inode.sh

-- 
2.9.3




More information about the Libguestfs mailing list