Skip to content
  • Steven Whitehouse's avatar
    [GFS2] Fix lack of buffers in writepage bug · f4387149
    Steven Whitehouse authored
    
    
    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: default avatarSteven Whitehouse <swhiteho@redhat.com>
    f4387149