]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ext4: refactor ext4_fallocate code
authorLukas Czerner <lczerner@redhat.com>
Tue, 18 Mar 2014 22:03:51 +0000 (18:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Mar 2014 22:03:51 +0000 (18:03 -0400)
commit0e8b6879f3c234036181526683be2b0231892ae4
tree7fcff688fec8a0da538938830c5ea3cf8964f28f
parentf282ac19d86f0507e91759dcf3d15fcb3a964d2a
ext4: refactor ext4_fallocate code

Move block allocation out of the ext4_fallocate into separate function
called ext4_alloc_file_blocks(). This will allow us to use the same
allocation code for other allocation operations such as zero range which
is commit in the next patch.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c