]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Access and dirty the buffer_head in mark_written.
authorTao Ma <tao.ma@oracle.com>
Thu, 8 Jan 2009 23:32:48 +0000 (07:32 +0800)
committerMark Fasheh <mfasheh@suse.com>
Thu, 26 Feb 2009 19:51:09 +0000 (11:51 -0800)
commit47be12e4eec84c1846f29af64fe25a396b57a026
treea16590b4fc4e3753295c230a32f07a6e1bbd3a57
parent64e71303e44f3697e4568147caa966de74bdb4fb
ocfs2: Access and dirty the buffer_head in mark_written.

In __ocfs2_mark_extent_written, when we meet with the situation
of c_split_covers_rec, the old solution just replace the extent
record and forget to access and dirty the buffer_head. This will
cause a problem when the unwritten extent is in an extent block.
So access and dirty it.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/alloc.c