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)
commit9c538837d844574787c95bd5665f684559fb7065
tree6f2889435b03df7bd42f75d0f2577faf20d35775
parent6bac243f0793499782267342eba852a8a6cc7ac4
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