]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: extended inode refs
authorMark Fasheh <mfasheh@suse.de>
Wed, 8 Aug 2012 18:32:27 +0000 (11:32 -0700)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:33 +0000 (15:19 -0400)
commit163f31ec0eeefa62ae285c730e15712770b4118d
tree4f58939e369b3ff3826af070740b7af8340b6eb7
parentc901cee8098dd71f072c7a4dd2b9b8fbe650cc40
btrfs: extended inode refs

This patch adds basic support for extended inode refs. This includes support
for link and unlink of the refs, which basically gets us support for rename
as well.

Inode creation does not need changing - extended refs are only added after
the ref array is full.

Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
fs/btrfs/backref.c
fs/btrfs/backref.h
fs/btrfs/ctree.h
fs/btrfs/hash.h
fs/btrfs/inode-item.c
fs/btrfs/inode.c
fs/btrfs/tree-log.c