ext4: provide ext4_issue_zeroout()
authorJan Kara <jack@suse.com>
Mon, 7 Dec 2015 20:09:35 +0000 (15:09 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Dec 2015 20:09:35 +0000 (15:09 -0500)
commit53085fac02d12fcd29a9cb074ec480ff0f77ae5c
tree52b3a182a397ee36470e44b5deb4633f67c1478b
parent2dcba4781fa3842e28f47ab23056d58cd283fca6
ext4: provide ext4_issue_zeroout()

Create new function ext4_issue_zeroout() to zeroout contiguous (both
logically and physically) part of inode data. We will need to issue
zeroout when extent structure is not readily available and this function
will allow us to do it without making up fake extent structures.

Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/crypto.c
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/inode.c