]> git.baikalelectronics.ru Git - 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)
commit0e066abd8d43507684f4ad7900fc4605770824d1
tree7fcff688fec8a0da538938830c5ea3cf8964f28f
parent3eb33b179ec7a2f155183d2e9319f789c2aa8e55
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