mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:onefs.so Change system function names
Addendum to c49730e1
. Use newer cookie conversion names.
This commit is contained in:
parent
386a5d99b3
commit
798389c49a
@ -431,7 +431,7 @@ onefs_seekdir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, long offset)
|
||||
}
|
||||
|
||||
/* Convert offset to resume_cookie */
|
||||
resume_cookie = rdp_offset2cookie(offset);
|
||||
resume_cookie = rdp_offset31_to_cookie63(offset);
|
||||
|
||||
DEBUG(9, ("Seek DIR %p, offset: %ld, resume_cookie: %#llx\n",
|
||||
dsp->dirp, offset, resume_cookie));
|
||||
@ -487,11 +487,11 @@ onefs_telldir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp)
|
||||
}
|
||||
|
||||
/* Convert resume_cookie to offset */
|
||||
offset = rdp_cookie2offset(dsp->resume_cookie);
|
||||
offset = rdp_cookie63_to_offset31(dsp->resume_cookie);
|
||||
if (offset < 0) {
|
||||
DEBUG(1, ("Unable to convert resume_cookie: %#llx to a "
|
||||
"suitable 32-bit offset value.\n",
|
||||
dsp->resume_cookie));
|
||||
"suitable 32-bit offset value. Error: %s\n",
|
||||
dsp->resume_cookie, strerror(errno)));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user