]> git.karo-electronics.de Git - linux-beck.git/commit
[GFS2] Fix bug in writepage()
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 2 May 2006 16:09:42 +0000 (12:09 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 2 May 2006 16:09:42 +0000 (12:09 -0400)
commitd2d7b8a2a756fb520792ca3db3abdeed9214ae5b
tree467e9e1ef0f4ba29f8cdba4731792533272c6af5
parent56409abbf8a9e3754d752d0189f9b9a609ec78de
[GFS2] Fix bug in writepage()

As pointed out by Wendy Cheng, the logic in GFS2's writepage() function
wasn't quite right with respect to invalidating pages when a file has been
truncated. This patch fixes that.

CC: Wendy Cheng <wcheng@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_address.c