[GFS2] Update truncate function (shrinking partial blocks)
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 31 Jan 2006 10:00:25 +0000 (10:00 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 31 Jan 2006 10:00:25 +0000 (10:00 +0000)
commit257f9b4e97e9a6cceeb247cead92119a4396d37b
tree5bd94507046b09a9d6cc067c1dcc1124fbaa4016
parentf42faf4fa4eaf7e108dd60f3f2ca5c6e9b45352c
[GFS2] Update truncate function (shrinking partial blocks)

Update the function in GFS2 which deals with truncation of
partial blocks. Some of the code is "borrowed" from ext3
since it appears to give a good model of how to do this
operation. The function is renamed gfs2_block_truncate_page
accordingly.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/ops_address.c
fs/gfs2/page.c
fs/gfs2/page.h