]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: zfs: Free bouncebuf on error path in vdev_read
authorkevans <kevans@FreeBSD.org>
Fri, 31 May 2019 17:44:22 +0000 (17:44 +0000)
committerkevans <kevans@FreeBSD.org>
Fri, 31 May 2019 17:44:22 +0000 (17:44 +0000)
commit6042604ca925f5a54a7c55f052d4257f5819c861
treec41f25004e4868e607dc44b3173ad013c94d88ea
parenta8ad40637377e7b3c2380dbefbc612932402437b
stand: zfs: Free bouncebuf on error path in vdev_read

r344226 inadvertently added this path in which we return from failure on an
lseek and do not free bouncebuf on the way out.

MFC after: 3 days
stand/libsa/zfs/zfs.c