[Ocfs2-tools-devel] [PATCH 4/7] Abstract truncating process for "set sparse", take 3

Mark Fasheh mark.fasheh at oracle.com
Mon Nov 5 17:51:07 PST 2007


On Mon, Nov 05, 2007 at 03:44:05PM +0800, tao.ma wrote:
> Change from V2 to V3:
> Add "new_size == 0" check in ocfs2_zero_tail_for_truncate.
> 
> In ocfs2_truncate, we will free all the clusters and empty the
> extra bytes in the last cluster. This function is also useful
> for "set-sparse" function in tunefs.ocfs2, so abstract the process
> and move the prototype to ocfs2.h for other functions to use it.
> 
> Signed-off-by: Tao Ma <tao.ma at oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh at oracle.com>

--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh at oracle.com



More information about the Ocfs2-tools-devel mailing list