Date: Wed, 4 Mar 2009 13:54:10 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189364 - head/sys/fs/udf Message-ID: <200903041354.n24DsAVr044364@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Wed Mar 4 13:54:10 2009 New Revision: 189364 URL: http://svn.freebsd.org/changeset/base/189364 Log: udf: use truly unique directory cookie 'off' is an offset within current block, so there is a good chance it can be non-unique, so use complete offset. Submitted by: bde Approved by: jhb Modified: head/sys/fs/udf/udf_vnops.c Modified: head/sys/fs/udf/udf_vnops.c ============================================================================== --- head/sys/fs/udf/udf_vnops.c Wed Mar 4 13:53:57 2009 (r189363) +++ head/sys/fs/udf/udf_vnops.c Wed Mar 4 13:54:10 2009 (r189364) @@ -738,7 +738,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?200903041354.n24DsAVr044364>