]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: introduce masks for chunk type and profile
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:47 +0000 (22:04 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:47 +0000 (22:04 +0200)
commit45116ffa63ae5a7535358dc8cbb60a99bc2ba71c
treed4c60bad0a7813d964988c7c40aeceadfb54cc1d
parent45c923d204f049eba1f7b54d623b1c558226ab34
Btrfs: introduce masks for chunk type and profile

Chunk's type and profile are encoded in u64 flags field.  Introduce
masks to easily access them.  Also fix the type of BTRFS_BLOCK_GROUP_*
constants, it should be ULL.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c