diff options
author | Yongqiang Yang <xiaoqiangnk@gmail.com> | 2011-07-27 03:51:08 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-07-27 03:51:08 +0200 |
commit | 4740b830ed5720ade6c780dbf3fdfe9089b3552d (patch) | |
tree | 7236a6b16db7d3cf8ef8cf5a6d86dac85df01b01 /fs/ext4/resize.c | |
parent | ext4: let ext4_group_add_blocks() return an error code (diff) | |
download | linux-4740b830ed5720ade6c780dbf3fdfe9089b3552d.tar.xz linux-4740b830ed5720ade6c780dbf3fdfe9089b3552d.zip |
ext4: let ext4_group_add_blocks() handle 0 blocks quickly
If ext4_group_add_blocks() is called with 0 block, make it return 0
without doing any extra work.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/resize.c')
0 files changed, 0 insertions, 0 deletions