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:
committed by
Volker Lendecke
parent
c9d1e16c2c
commit
cf7dac6fbc
@ -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 "
|
||||
|
Reference in New Issue
Block a user