[GFS2] Fix incorrect error path in prepare_write()
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 17 Jul 2007 09:29:02 +0000 (10:29 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 14 Aug 2007 09:33:44 +0000 (10:33 +0100)
commita867bb28c1cb49ae86d034d8bd8fe6dbcbb19566
tree0ab8fbdfa681ebb47979cc5ae645f7b8855581d5
parent6eefaf61f664053c1dd6534a994cab3f8bb07263
[GFS2] Fix incorrect error path in prepare_write()

The error path in prepare_write() was incorrect in the (very rare) event
that the transaction fails to start. The following prevents a NULL
pointer dereference,

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