]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Fix gfs2_block_truncate_page err return
authorS. Wendy Cheng <wcheng@redhat.com>
Tue, 26 Jun 2007 01:14:31 +0000 (21:14 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:23:54 +0000 (08:23 +0100)
commit1875f2f31b3955dff8c3712a56ae61836c8b90fe
treed2283452b7de1ae042cf6265cc9fe7f5dd08a20d
parent773ed1a044adc868036dee1722b8bca6ce5923e2
[GFS2] Fix gfs2_block_truncate_page err return

Code segment inside gfs2_block_truncate_page() doesn't set the return
code correctly. This causes NFSD erroneously returns EIO back to client
with setattr procedure call (truncate error).

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