Mark Fasheh 60b11392f1 ocfs2: zero tail of sparse files on truncate
Since we don't zero on extend anymore, truncate needs to be fixed up to zero
the part of a file between i_size and and end of it's cluster. Otherwise a
subsequent extend could expose bad data.

This introduced a new helper, which can be used in ocfs2_write().

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-04-26 15:02:20 -07:00
..
2007-04-26 14:39:48 -07:00
2007-04-26 13:38:55 -07:00
2007-04-26 14:39:48 -07:00
2007-01-21 16:19:12 -08:00
2006-09-20 15:48:39 -07:00
2006-09-20 15:48:39 -07:00
2007-04-26 14:44:03 -07:00
2007-04-26 14:39:48 -07:00
2006-03-24 14:58:24 -08:00
2006-12-07 08:39:25 -08:00
2007-04-26 14:40:16 -07:00
2007-04-26 14:40:16 -07:00