summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-05-05 14:42:19 -0700
committerSteven Danneman <steven.danneman@isilon.com>2009-05-05 14:42:19 -0700
commit798389c49aa7167157d052f1513f1c81f77e10f7 (patch)
tree96bfc22f4e2e8c1f2047c50652332df55921fbf4 /source3
parent386a5d99b32fa1296618f59f9a9072d9faf2c8ac (diff)
downloadsamba-798389c49aa7167157d052f1513f1c81f77e10f7.tar.gz
samba-798389c49aa7167157d052f1513f1c81f77e10f7.tar.bz2
samba-798389c49aa7167157d052f1513f1c81f77e10f7.zip
s3:onefs.so Change system function names
Addendum to c49730e1. Use newer cookie conversion names.
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/onefs_dir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/onefs_dir.c b/source3/modules/onefs_dir.c
index 8c056d9a93..47da33fff1 100644
--- a/source3/modules/onefs_dir.c
+++ b/source3/modules/onefs_dir.c
@@ -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;
}