]> 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)
commit91f700a5c6a1eb35e90256b840b041cd7407d59f
tree73f4b8f53e40ee6f7ceefe3d5eec47006fefa4d8
parent39f28be8ee5a79787c7dacc74a6de57b7dcc679b
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