]> git.baikalelectronics.ru Git - kernel.git/commit
Fix a minor bug in the previous patch
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 19 Mar 2009 13:15:44 +0000 (13:15 +0000)
committerSteven Whitehouse <steve@dolmen.chygwyn.com>
Tue, 24 Mar 2009 11:21:27 +0000 (11:21 +0000)
commitfd35f21d352f57d6a59764ace6014416f4c91437
tree6f2889435b03df7bd42f75d0f2577faf20d35775
parent2051458db920ecb49dd1e70d2fdf9e986bed28aa
Fix a minor bug in the previous patch

The logic requires that we mark the glock dirty in page_mkwrite
otherwise we might not flush correctly in the case that no
allocation was required in the process of dirying the page.
Also we need to set the shared write flag early for the same
reason.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_file.c