Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 14:32:11 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r190060 - in stable/7/sys: . fs/udf
Message-ID:  <200903191432.n2JEWBjT065154@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Thu Mar 19 14:32:11 2009
New Revision: 190060
URL: http://svn.freebsd.org/changeset/base/190060

Log:
  MFC 189364: udf: use truly unique directory cookie
  
  Approved by:	jhb (mentor)

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/fs/udf/udf_vnops.c

Modified: stable/7/sys/fs/udf/udf_vnops.c
==============================================================================
--- stable/7/sys/fs/udf/udf_vnops.c	Thu Mar 19 14:26:15 2009	(r190059)
+++ stable/7/sys/fs/udf/udf_vnops.c	Thu Mar 19 14:32:11 2009	(r190060)
@@ -725,7 +725,7 @@ udf_getfid(struct udf_dirstream *ds)
 	 * Update the offset. Align on a 4 byte boundary because the
 	 * UDF spec says so.
 	 */
-	ds->this_off = ds->off;
+	ds->this_off = ds->offset + ds->off;
 	if (!ds->fid_fragment) {
 		ds->off += (total_fid_size + 3) & ~0x03;
 	} else {



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