diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-09-04 18:06:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-09-04 18:06:25 -0400 |
commit | a521100231f816f8cdd9c8e77da14ff1e42c2b17 (patch) | |
tree | 66dccba9ffc883f1a47fa9683f055bcdae54131e /fs/ext4/mballoc.c | |
parent | eb68d0e2fc5a4e5c06324ea5f485fccbae626d05 (diff) | |
download | op-kernel-dev-a521100231f816f8cdd9c8e77da14ff1e42c2b17.zip op-kernel-dev-a521100231f816f8cdd9c8e77da14ff1e42c2b17.tar.gz |
ext4: pass allocation_request struct to ext4_(alloc,splice)_branch
Instead of initializing the allocation_request structure in
ext4_alloc_branch(), set it up in ext4_ind_map_blocks(), and then pass
it to ext4_alloc_branch() and ext4_splice_branch().
This allows ext4_ind_map_blocks to pass flags in the allocation
request structure without having to add Yet Another argument to
ext4_alloc_branch().
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/mballoc.c')
0 files changed, 0 insertions, 0 deletions