]> git.karo-electronics.de Git - linux-beck.git/commit
btrfs: use a single if() statement for one outcome in get_block_rsv()
authorAlexandru Moise <00moses.alexander00@gmail.com>
Wed, 9 Sep 2015 00:18:50 +0000 (00:18 +0000)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Oct 2015 16:28:48 +0000 (18:28 +0200)
commite9cf439f0dc824cca6b2dc0dbb14e17f3f80b7f1
treee60295b7c85131d23c0ead3ae3e89657fd28a01b
parenta099d0fdb34f00cee346703036a0a90d267e77d7
btrfs: use a single if() statement for one outcome in get_block_rsv()

Rather than have three separate if() statements for the same outcome
we should just OR them together in the same if() statement.

Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Alexandru Moise <00moses.alexander00@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c