diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-12-01 12:55:47 +0800 |
---|---|---|
committer | Li Zefan <lizf@cn.fujitsu.com> | 2012-01-11 10:26:44 +0800 |
commit | de11cc12df17337979e0929d2831887432f236ca (patch) | |
tree | a9232dd3531707f49c5e56523019a1e0ce081876 /fs/gfs2/quota.c | |
parent | 125ccb0ae6806dbec31abf4a85448971df3b4e39 (diff) | |
download | linux-de11cc12df17337979e0929d2831887432f236ca.tar.gz linux-de11cc12df17337979e0929d2831887432f236ca.tar.bz2 linux-de11cc12df17337979e0929d2831887432f236ca.zip |
Btrfs: don't pre-allocate btrfs bio
We pre-allocate a btrfs bio with fixed size, and then may re-allocate
memory if we find stripes are bigger than the fixed size. But this
pre-allocation is not necessary.
Also we don't have to calcuate the stripe number twice.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'fs/gfs2/quota.c')
0 files changed, 0 insertions, 0 deletions