diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 16:59:10 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 16:59:10 +0100 |
commit | f6cac02f00da72885e8a6d0104d099d84ac0ff6e (patch) | |
tree | ac4db4e80035dbcf0aeeab2defec214e49f20da0 /source3/include | |
parent | edd30e716fb5133b269ef82358e95d187a107870 (diff) | |
download | samba-f6cac02f00da72885e8a6d0104d099d84ac0ff6e.tar.gz samba-f6cac02f00da72885e8a6d0104d099d84ac0ff6e.tar.bz2 samba-f6cac02f00da72885e8a6d0104d099d84ac0ff6e.zip |
Fix wrong unused opaque macro for kernel_flock().
Michael
(This used to be commit 5c01309a2b078f08c4f0caf802d81c9b3d53382f)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/vfs_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/vfs_macros.h b/source3/include/vfs_macros.h index 5bc2cbc751..4566bb9b1d 100644 --- a/source3/include/vfs_macros.h +++ b/source3/include/vfs_macros.h @@ -190,7 +190,7 @@ #define SMB_VFS_OPAQUE_NTIMES(conn, path, ts) ((conn)->vfs_opaque.ops.ntimes((conn)->vfs_opaque.handles.ntimes, (path), (ts))) #define SMB_VFS_OPAQUE_FTRUNCATE(fsp, offset) ((fsp)->conn->vfs_opaque.ops.ftruncate((fsp)->conn->vfs_opaque.handles.ftruncate, (fsp), (offset))) #define SMB_VFS_OPAQUE_LOCK(fsp, op, offset, count, type) ((fsp)->conn->vfs_opaque.ops.lock((fsp)->conn->vfs_opaque.handles.lock, (fsp), (op), (offset), (count), (type))) -#define SMB_VFS_OPAQUE_FLOCK(fsp, fd, share_mode) ((fsp)->conn->vfs_opaque.ops.lock((fsp)->conn->vfs_opaque.handles.kernel_flock, (fsp), (fd), (share_mode))) +#define SMB_VFS_OPAQUE_KERNEL_FLOCK(fsp, fd, share_mode) ((fsp)->conn->vfs_opaque.ops.kernel_flock((fsp)->conn->vfs_opaque.handles.kernel_flock, (fsp), (fd), (share_mode))) #define SMB_VFS_OPAQUE_LINUX_SETLEASE(fsp, fd, leasetype) ((fsp)->conn->vfs_opaque.ops.linux_setlease((fsp)->conn->vfs_opaque.handles.linux_setlease, (fsp), (fd), (leasetype))) #define SMB_VFS_OPAQUE_GETLOCK(fsp, fd, poffset, pcount, ptype, ppid) ((fsp)->conn->vfs_opaque.ops.getlock((fsp)->conn->vfs_opaque.handles.getlock, (fsp), (fd), (poffset), (pcount), (ptype), (ppid))) #define SMB_VFS_OPAQUE_SYMLINK(conn, oldpath, newpath) ((conn)->vfs_opaque.ops.symlink((conn)->vfs_opaque.handles.symlink, (oldpath), (newpath))) |