diff options
author | 2010-03-25 12:32:59 +0000 | |
---|---|---|
committer | 2010-03-30 21:19:09 -0400 | |
commit | f3eae7e8a5ed124bbc781e18ea10c21856017322 (patch) | |
tree | 5e275277720e220ac3c9c2e3dcc404c39a76bbe8 /lib/bitmap.c | |
parent | Btrfs: Add error handle for btrfs_search_slot() in btrfs_read_chunk_tree() (diff) | |
download | linux-dev-f3eae7e8a5ed124bbc781e18ea10c21856017322.tar.xz linux-dev-f3eae7e8a5ed124bbc781e18ea10c21856017322.zip |
Btrfs: Simplify num_stripes's calculation logical for __btrfs_alloc_chunk()
We can use this simple method to make source more readable.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions