diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-25 06:37:34 -0700 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-03-02 18:39:21 +0100 |
commit | c9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046 (patch) | |
tree | 3ffb79da3653f0ba9273afd637f9e25e4aedd6cb /source3/include/vfs.h | |
parent | 48f6b4d6fc08fa0621734c1c677ef7ef92891754 (diff) | |
download | samba-c9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046.tar.gz samba-c9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046.tar.bz2 samba-c9d1e16c2c6ab5ffebbab4bd82a4cda0bb860046.zip |
s3: Pass smb_filename through the is_offline vfs op
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r-- | source3/include/vfs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 7e5b87a418..304f04356c 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -401,7 +401,9 @@ struct vfs_fn_pointers { bool (*aio_force)(struct vfs_handle_struct *handle, struct files_struct *fsp); /* offline operations */ - bool (*is_offline)(struct vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf); + bool (*is_offline)(struct vfs_handle_struct *handle, + const struct smb_filename *fname, + SMB_STRUCT_STAT *sbuf); int (*set_offline)(struct vfs_handle_struct *handle, const char *path); }; @@ -815,7 +817,8 @@ int smb_vfs_call_aio_suspend(struct vfs_handle_struct *handle, bool smb_vfs_call_aio_force(struct vfs_handle_struct *handle, struct files_struct *fsp); 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); int smb_vfs_call_set_offline(struct vfs_handle_struct *handle, const char *path); |