]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Btrfs: remove btrfs_init_path
authorJeff Mahoney <jeffm@suse.com>
Thu, 12 Feb 2009 19:11:25 +0000 (14:11 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 12 Feb 2009 19:11:25 +0000 (14:11 -0500)
commite00f7308658622fbd483cb0d9fe41165bf9050d0
tree5baeaee96a3d6789f4cce2ca17d7f4f8afb3431e
parent7951f3cefbd711f4429a0cd014aa83a844c399a0
Btrfs: remove btrfs_init_path

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.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/inode-map.c
fs/btrfs/inode.c