|
@@ -767,9 +767,10 @@ int cifs_unlink(struct inode *inode, struct dentry *direntry)
|
|
|
cifs_sb->mnt_cifs_flags &
|
|
cifs_sb->mnt_cifs_flags &
|
|
|
CIFS_MOUNT_MAP_SPECIAL_CHR);
|
|
CIFS_MOUNT_MAP_SPECIAL_CHR);
|
|
|
if (rc == 0) {
|
|
if (rc == 0) {
|
|
|
- rc = CIFSSMBSetFileTimes(xid, pTcon,
|
|
|
|
|
- pinfo_buf,
|
|
|
|
|
- netfid);
|
|
|
|
|
|
|
+ rc = CIFSSMBSetFileInfo(xid, pTcon,
|
|
|
|
|
+ pinfo_buf,
|
|
|
|
|
+ netfid,
|
|
|
|
|
+ current->tgid);
|
|
|
CIFSSMBClose(xid, pTcon, netfid);
|
|
CIFSSMBClose(xid, pTcon, netfid);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1702,8 +1703,8 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
|
|
|
cifs_sb->mnt_cifs_flags &
|
|
cifs_sb->mnt_cifs_flags &
|
|
|
CIFS_MOUNT_MAP_SPECIAL_CHR);
|
|
CIFS_MOUNT_MAP_SPECIAL_CHR);
|
|
|
if (rc == 0) {
|
|
if (rc == 0) {
|
|
|
- rc = CIFSSMBSetFileTimes(xid, pTcon, &time_buf,
|
|
|
|
|
- netfid);
|
|
|
|
|
|
|
+ rc = CIFSSMBSetFileInfo(xid, pTcon, &time_buf,
|
|
|
|
|
+ netfid, current->tgid);
|
|
|
CIFSSMBClose(xid, pTcon, netfid);
|
|
CIFSSMBClose(xid, pTcon, netfid);
|
|
|
} else {
|
|
} else {
|
|
|
/* BB For even older servers we could convert time_buf
|
|
/* BB For even older servers we could convert time_buf
|