[GFS2] Unlock page on prepare_write try lock failure
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 7 Feb 2007 15:25:59 +0000 (10:25 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 7 Feb 2007 15:25:59 +0000 (10:25 -0500)
commit2d72e7101cc7fff5c1eb21bfcbba51c8002418d2
tree4f67388942d5716fb18732c04b8a8d74bdff0ff8
parent549ae0ac3d574a682e82b02e79259a65445a675b
[GFS2] Unlock page on prepare_write try lock failure

When the try lock of the glock failed in prepare_write we were
incorrectly exiting this function with the page still locked.
This was resulting in further I/O to this page hanging.

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