Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2010 17:11:31 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204469 - head/sys/fs/msdosfs
Message-ID:  <201002281711.o1SHBVXA040362@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Feb 28 17:11:31 2010
New Revision: 204469
URL: http://svn.freebsd.org/changeset/base/204469

Log:
  In msdosfs deget(), properly handle the case when the vnode is found in hash.
  
  Tested by:	pho
  MFC after:	3 weeks

Modified:
  head/sys/fs/msdosfs/msdosfs_denode.c

Modified: head/sys/fs/msdosfs/msdosfs_denode.c
==============================================================================
--- head/sys/fs/msdosfs/msdosfs_denode.c	Sun Feb 28 17:10:41 2010	(r204468)
+++ head/sys/fs/msdosfs/msdosfs_denode.c	Sun Feb 28 17:11:31 2010	(r204469)
@@ -182,9 +182,8 @@ deget(pmp, dirclust, diroffset, depp)
 		return (error);
 	}
 	if (xvp != NULL) {
-		/* XXX: Not sure this is right */
-		nvp = xvp;
-		ldep->de_vnode = nvp;
+		*depp = xvp->v_data;
+		return (0);
 	}
 
 	ldep->de_pmp = pmp;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002281711.o1SHBVXA040362>