[GFS2] Fix uninitialised variable
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 10 Oct 2006 17:45:15 +0000 (13:45 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 12 Oct 2006 21:10:15 +0000 (17:10 -0400)
commitf5c54804d9e3bb23d8924af09d9ca1c8de9560b6
tree34b1b098b93d41a796e3e528445fa3d87030808e
parent52ae7b7935a079aaba25da98fe90772d04109f26
[GFS2] Fix uninitialised variable

This fixes a bug where, in certain cases an uninitialised variable
could cause a dereference of a NULL pointer in gfs2_commit_write().
Also a typo in a comment is fixed at the same time.

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