]> 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>
Thu, 4 Oct 2012 13:40:04 +0000 (09:40 -0400)
commita12bb5ca7876951941bbca95ff371700b03a97f7
tree84508bd1eb04e4d7200a3b302c789f5f1b318643
parent49d07bac90965b653055f1703db90e0241e8d86e
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