summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-25 06:37:34 -0700
committerVolker Lendecke <vlendec@samba.org>2011-03-02 18:39:21 +0100
commitc9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046 (patch)
tree3ffb79da3653f0ba9273afd637f9e25e4aedd6cb /source3/smbd/vfs.c
parent48f6b4d6fc08fa0621734c1c677ef7ef92891754 (diff)
downloadsamba-c9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046.tar.gz
samba-c9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046.tar.bz2
samba-c9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046.zip
s3: Pass smb_filename through the is_offline vfs op
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 40aaf6bb74..71de587d17 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -2006,10 +2006,11 @@ bool smb_vfs_call_aio_force(struct vfs_handle_struct *handle,
}
bool smb_vfs_call_is_offline(struct vfs_handle_struct *handle,
- const char *path, SMB_STRUCT_STAT *sbuf)
+ const struct smb_filename *fname,
+ SMB_STRUCT_STAT *sbuf)
{
VFS_FIND(is_offline);
- return handle->fns->is_offline(handle, path, sbuf);
+ return handle->fns->is_offline(handle, fname, sbuf);
}
int smb_vfs_call_set_offline(struct vfs_handle_struct *handle,