From: Theodore Ts'o Date: Thu, 4 Sep 2014 22:06:25 +0000 (-0400) Subject: ext4: pass allocation_request struct to ext4_(alloc,splice)_branch X-Git-Tag: fixes-against-v3.18-rc2~28^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a521100231f816f8cdd9c8e77da14ff1e42c2b17;p=pandora-kernel.git 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 Reviewed-by: Jan Kara --- Reading git-diff-tree failed