1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

s3: Pass smb_filename through the set_offline vfs op

This commit is contained in:
Volker Lendecke
2011-02-25 06:43:52 -07:00
committed by Volker Lendecke
parent c9d1e16c2c
commit cf7dac6fbc
8 changed files with 36 additions and 12 deletions

View File

@ -719,7 +719,7 @@ int file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname,
if (dosmode & FILE_ATTRIBUTE_OFFLINE) {
if (!(old_mode & FILE_ATTRIBUTE_OFFLINE)) {
lret = SMB_VFS_SET_OFFLINE(conn, smb_fname->base_name);
lret = SMB_VFS_SET_OFFLINE(conn, smb_fname);
if (lret == -1) {
DEBUG(0, ("set_dos_mode: client has asked to "
"set FILE_ATTRIBUTE_OFFLINE to "