]> Pileus Git - ~andy/linux/commit
ext4: refactor truncate code
authorTheodore Ts'o <tytso@mit.edu>
Wed, 3 Apr 2013 16:47:17 +0000 (12:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Apr 2013 16:47:17 +0000 (12:47 -0400)
commit819c4920b7e60ecfd6f0f61d890af4cdf3873d18
tree85f995b14c7308080d196d85b9b3d148337a6382
parent26a4c0c6ccecf6814cf44f951c97222bd795bc1a
ext4: refactor truncate code

Move common code in ext4_ind_truncate() and ext4_ext_truncate() into
ext4_truncate().  This saves over 60 lines of code.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/indirect.c
fs/ext4/inode.c