search for: cache_get_full_path_full_name

Displaying 1 result from an estimated 1 matches for "cache_get_full_path_full_name".

2010 Dec 11
1
[RFC] Improve btrfs subvolume find-new command
...int ret; @@ -657,11 +657,43 @@ int list_subvols(int fd) return ret; } -static int print_one_extent(int fd, struct btrfs_ioctl_search_header *sh, +static u64 cache_get_full_path_dirid = 0; +static u64 cache_get_full_path_ino = 0; +static char *cache_get_full_path_dir_name = NULL; +static char *cache_get_full_path_full_name = NULL; + +static void init_cache_get_full_path(void) +{ + cache_get_full_path_dirid = 0; + cache_get_full_path_ino = 0; + cache_get_full_path_dir_name = NULL; + cache_get_full_path_full_name = NULL; +} + +static char *get_full_path(int fd, struct btrfs_ioctl_search_header *sh) +{ + char *name = N...