ext4: Add documentation to the ext4_*get_block* functions
authorTheodore Ts'o <tytso@mit.edu>
Thu, 14 May 2009 04:54:29 +0000 (00:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 14 May 2009 04:54:29 +0000 (00:54 -0400)
commitb920c75502cb2c48654ef196d647c8eb81ab608a
tree73105b8a1212001a3636d83b3f8e9e554e048170
parentc21770573319922e3f3fcb331cfaa290c49f1c81
ext4: Add documentation to the ext4_*get_block* functions

This adds more documentation to various internal functions in
fs/ext4/inode.c, most notably ext4_ind_get_blocks(),
ext4_da_get_block_write(), ext4_da_get_block_prep(),
ext4_normal_get_block_write().

In addition, the static function ext4_normal_get_block_write() has
been renamed noalloc_get_block_write(), since it is used in many
places far beyond ext4_normal_writepage().

Plenty of warnings have been added to the noalloc_get_block_write()
function, since the way it is used is amazingly fragile.

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