Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Btrfs: send, remove dead code from __get_cur_name_and_parent

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>

authored by

Filipe Manana and committed by
Chris Mason
a10c4076 c992ec94

-6
-6
fs/btrfs/send.c
··· 2030 2030 { 2031 2031 int ret; 2032 2032 int nce_ret; 2033 - struct btrfs_path *path = NULL; 2034 2033 struct name_cache_entry *nce = NULL; 2035 2034 2036 2035 /* ··· 2054 2055 goto out; 2055 2056 } 2056 2057 } 2057 - 2058 - path = alloc_path_for_send(); 2059 - if (!path) 2060 - return -ENOMEM; 2061 2058 2062 2059 /* 2063 2060 * If the inode is not existent yet, add the orphan name and return 1. ··· 2130 2135 name_cache_clean_unused(sctx); 2131 2136 2132 2137 out: 2133 - btrfs_free_path(path); 2134 2138 return ret; 2135 2139 } 2136 2140