[GFS2] Add list empty test to databuf_lo_add
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 22 Feb 2006 11:15:03 +0000 (11:15 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 22 Feb 2006 11:15:03 +0000 (11:15 +0000)
commit13538b8e46022b6a3721cda097fe3e0d91f16959
tree7daf34dadd8bcdf5d98a09b17284a7755823c027
parentf55ab26a8f92a23988c3e6da28dae4741933a4e2
[GFS2] Add list empty test to databuf_lo_add

Heinz had spotted that I'd forgotten to test in databuf_lo_add()
that the data buffer in question hadn't already been added to
the list. This was causing an infinite loop later on in the
"before commit" routine.

This means that GFS2 is now ready to be tested by everybody.

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