]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: improved readablity for add_inode_ref
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Fri, 17 Aug 2012 21:04:41 +0000 (14:04 -0700)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:32 +0000 (15:19 -0400)
commitc901cee8098dd71f072c7a4dd2b9b8fbe650cc40
tree3d6abf26c768bac5aad68cfa9ef701701f72c1ca
parent5661627cb5776842b32de04b7a7a232a55cfb256
btrfs: improved readablity for add_inode_ref

Moved part of the code into a sub function and replaced most of the gotos
by ifs, hoping that it will be easier to read now.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
fs/btrfs/tree-log.c