ext4: move __ext4_check_blockref to block_validity.c
authorTheodore Ts'o <tytso@mit.edu>
Mon, 27 Jun 2011 23:16:02 +0000 (19:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 27 Jun 2011 23:16:02 +0000 (19:16 -0400)
commit1f7d1e77419050831a905353683807fa69a26625
tree0f32626160b1ecab1e6067ff0e94746c3da068c4
parent8bb2b247124ba6093455d4aef26743b1bef27bc5
ext4: move __ext4_check_blockref to block_validity.c

In preparation for moving the indirect functions to a separate file,
move __ext4_check_blockref() to block_validity.c and rename it to
ext4_check_blockref() which is exported as globally visible function.

Also, rename the cpp macro ext4_check_inode_blockref() to
ext4_ind_check_inode(), to make it clear that it is only valid for use
with non-extent mapped inodes.

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