diff options
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 9d94afe9b60e..d952914dfc4c 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -767,9 +767,10 @@ psx_del_no_retry: | |||
767 | cifs_sb->mnt_cifs_flags & | 767 | cifs_sb->mnt_cifs_flags & |
768 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 768 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
769 | if (rc == 0) { | 769 | if (rc == 0) { |
770 | rc = CIFSSMBSetFileTimes(xid, pTcon, | 770 | rc = CIFSSMBSetFileInfo(xid, pTcon, |
771 | pinfo_buf, | 771 | pinfo_buf, |
772 | netfid); | 772 | netfid, |
773 | current->tgid); | ||
773 | CIFSSMBClose(xid, pTcon, netfid); | 774 | CIFSSMBClose(xid, pTcon, netfid); |
774 | } | 775 | } |
775 | } | 776 | } |
@@ -1702,8 +1703,8 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs) | |||
1702 | cifs_sb->mnt_cifs_flags & | 1703 | cifs_sb->mnt_cifs_flags & |
1703 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 1704 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
1704 | if (rc == 0) { | 1705 | if (rc == 0) { |
1705 | rc = CIFSSMBSetFileTimes(xid, pTcon, &time_buf, | 1706 | rc = CIFSSMBSetFileInfo(xid, pTcon, &time_buf, |
1706 | netfid); | 1707 | netfid, current->tgid); |
1707 | CIFSSMBClose(xid, pTcon, netfid); | 1708 | CIFSSMBClose(xid, pTcon, netfid); |
1708 | } else { | 1709 | } else { |
1709 | /* BB For even older servers we could convert time_buf | 1710 | /* BB For even older servers we could convert time_buf |