ocfs2: support for removing file regions
authorMark Fasheh <mark.fasheh@oracle.com>
Tue, 3 Jul 2007 20:34:11 +0000 (13:34 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 11 Jul 2007 00:32:08 +0000 (17:32 -0700)
commit063c4561f52a74de686fe0ff2f96f4f54c9fecd2
tree73a202c316df70bdfafa489d70e2863c5c5ea33a
parent35edec1d52c075975991471d624b33b9336226f2
ocfs2: support for removing file regions

Provide an internal interface for the removal of arbitrary file regions.

ocfs2_remove_inode_range() takes a byte range within a file and will remove
existing extents within that range. Partial clusters will be zeroed so that
any read from within the region will return zeros.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h
fs/ocfs2/file.c
fs/ocfs2/journal.h