]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ext4: remove no longer used functions in inode.c"
authorLukas Czerner <lczerner@redhat.com>
Tue, 28 May 2013 03:32:35 +0000 (23:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 28 May 2013 03:32:35 +0000 (23:32 -0400)
commit68f2d615ae47c913fdd84618cb8656d4841c151c
tree05a5c67d53e3ce4e2f53cddc3966c0361c1579a9
parent7173421303ccffc3fdcf84b881542e993aa842fe
Revert "ext4: remove no longer used functions in inode.c"

This reverts commit a950169e89f9b20b74f3a1dd337ddf8151c28aa6.

This commit reintroduces functions ext4_block_truncate_page() and
ext4_block_zero_page_range() which has been previously removed in favour
of ext4_discard_partial_page_buffers().

In future commits we want to reintroduce those function and remove
ext4_discard_partial_page_buffers() since it is duplicating some code
and also partially duplicating work of truncate_pagecache_range(),
moreover the old implementation was much clearer.

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