svn commit: r209417 - stable/8/sys/boot/zfs
Andriy Gapon
avg at FreeBSD.org
Tue Jun 22 07:54:20 UTC 2010
Author: avg
Date: Tue Jun 22 07:54:19 2010
New Revision: 209417
URL: http://svn.freebsd.org/changeset/base/209417
Log:
MFC r208669: zfs boot: fix error handling in zfs_readdir
Modified:
stable/8/sys/boot/zfs/zfs.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/ixgbe/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/geom/sched/ (props changed)
Modified: stable/8/sys/boot/zfs/zfs.c
==============================================================================
--- stable/8/sys/boot/zfs/zfs.c Tue Jun 22 07:52:58 2010 (r209416)
+++ stable/8/sys/boot/zfs/zfs.c Tue Jun 22 07:54:19 2010 (r209417)
@@ -265,6 +265,8 @@ zfs_readdir(struct open_file *f, struct
rc = dnode_read(spa, &fp->f_dnode,
fp->f_seekp, &mze, sizeof(mze));
+ if (rc)
+ return (rc);
fp->f_seekp += sizeof(mze);
if (!mze.mze_name[0])
More information about the svn-src-all
mailing list