svn commit: r190060 - in stable/7/sys: . fs/udf

Andriy Gapon avg at FreeBSD.org
Thu Mar 19 07:32:12 PDT 2009


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 {


More information about the svn-src-stable-7 mailing list