Module Name: src
Committed By: pooka
Date: Sun Mar 29 16:06:54 UTC 2009
Modified Files:
src/usr.sbin/puffs/mount_psshfs: node.c
Log Message:
Save errno before descending to cleanup gehennom.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.sbin/puffs/mount_psshfs/node.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/puffs/mount_psshfs/node.c
diff -u src/usr.sbin/puffs/mount_psshfs/node.c:1.55 src/usr.sbin/puffs/mount_psshfs/node.c:1.56
--- src/usr.sbin/puffs/mount_psshfs/node.c:1.55 Thu Jan 1 13:41:45 2009
+++ src/usr.sbin/puffs/mount_psshfs/node.c Sun Mar 29 16:06:53 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: node.c,v 1.55 2009/01/01 13:41:45 pooka Exp $ */
+/* $NetBSD: node.c,v 1.56 2009/03/29 16:06:53 pooka Exp $ */
/*
* Copyright (c) 2006 Antti Kantee. All Rights Reserved.
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: node.c,v 1.55 2009/01/01 13:41:45 pooka Exp $");
+__RCSID("$NetBSD: node.c,v 1.56 2009/03/29 16:06:53 pooka Exp $");
#endif /* !lint */
#include <assert.h>
@@ -250,8 +250,8 @@
if (puffs_framev_enqueue_cb(pu, pctx->sshfd, pb,
lazyopen_rresp, psn, 0) == -1) {
- puffs_framebuf_destroy(pb);
rv = errno;
+ puffs_framebuf_destroy(pb);
goto out;
}
@@ -268,8 +268,8 @@
if (puffs_framev_enqueue_cb(pu, pctx->sshfd, pb2,
lazyopen_wresp, psn, 0) == -1) {
- puffs_framebuf_destroy(pb2);
rv = errno;
+ puffs_framebuf_destroy(pb2);
goto out;
}