]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: use existing align macros in btrfs_allocate()
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 28 Nov 2012 10:28:07 +0000 (10:28 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:14 +0000 (20:46 -0500)
commita45206cd22aeccd0fead05609ec7b35654859da4
tree73f4b8f53e40ee6f7ceefe3d5eec47006fefa4d8
parent2b42b7ff9384b1f256b494e67640995c57aafcba
Btrfs: use existing align macros in btrfs_allocate()

The kernel developers have implemented some often-used align macros, we should
use them instead of the complex code.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/file.c