UDF was not properly cleaning up getblk'd buffers in the face of error
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 29 Mar 2004 16:38:36 +0000 (16:38 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 29 Mar 2004 16:38:36 +0000 (16:38 +0000)
commitffaa7d78bb7f0b72b5c2c7a049603777d2674ff4
treeba5acc63706626599b13ae8a7606b6f005f6f024
parent537f47f346c959a536cb69815542bca5ba42c9f1
UDF was not properly cleaning up getblk'd buffers in the face of error
conditions.  In some places it was assuming that getblk() would not
return a buffer on error, but in fact getblk() generally always returns
a buffer whether an error occurs or not (and always on an I/O error).

Reported-by: David Rhodus <drhodus@crater.dragonflybsd.org>
sys/vfs/udf/udf_vfsops.c
sys/vfs/udf/udf_vnops.c