ext4: move common truncate functions to header file
authorTheodore Ts'o <tytso@mit.edu>
Mon, 27 Jun 2011 23:16:04 +0000 (19:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 27 Jun 2011 23:16:04 +0000 (19:16 -0400)
commit9f125d641beb898f5bf2fe69583192c18043517a
tree02259a4f538fbca0cbd6a9f0c4a9f96c82d738d6
parent1f7d1e77419050831a905353683807fa69a26625
ext4: move common truncate functions to header file

Move two functions that will be needed by the indirect functions to be
moved to indirect.c as well as inode.c to truncate.h as inline
functions, so that we can avoid having duplicate copies of the
function (which can be a maintenance problem) without having to expose
them as globally functions.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c
fs/ext4/truncate.h [new file with mode: 0644]