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
This commit is contained in:
parent
9cd835bba9
commit
159da68b48
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user