diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-04-26 16:06:10 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-08-09 14:32:28 +0200 |
commit | ee9f05f43f874238cc38cb357518f25119e77838 (patch) | |
tree | 495e5cec3db9356ed03c29dd01f1881a2a8ab89d /root-tree.c | |
parent | 296b051def1676b6fb7295a9a3a7a1811e7f9fbd (diff) |
Btrfs-progs: remove btrfs_init_path calls from ctree.c
btrfs_init_path was initially used when the path objects were on the
stack. Now all the work is done by btrfs_alloc_path and btrfs_init_path
isn't required.
This patch removes it, and just uses kmem_cache_zalloc to zero out the object.
[Eric Sandeen: port kernel commit e00f730 to userspace]
(Note, the rest of userspace has an on-stack path, so the actual
function remains for now).
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'root-tree.c')
0 files changed, 0 insertions, 0 deletions