[GFS2] Fix lack of buffers in writepage bug
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 8 Aug 2006 17:23:19 +0000 (13:23 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 8 Aug 2006 17:23:19 +0000 (13:23 -0400)
In some cases we can enter write page without there being buffers
attached to the page. In this case the function to add gfs2_bufdata
to the buffers fails sliently causing further failures down the
stack.

This fix ensures that we always add buffers in writepage if they
didn't already exist (mmap is one way to trigger this).

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found