diff options
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 024846719f1f..9d94afe9b60e 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -737,7 +737,7 @@ psx_del_no_retry: | |||
737 | /* ATTRS set to normal clears r/o bit */ | 737 | /* ATTRS set to normal clears r/o bit */ |
738 | pinfo_buf->Attributes = cpu_to_le32(ATTR_NORMAL); | 738 | pinfo_buf->Attributes = cpu_to_le32(ATTR_NORMAL); |
739 | if (!(pTcon->ses->flags & CIFS_SES_NT4)) | 739 | if (!(pTcon->ses->flags & CIFS_SES_NT4)) |
740 | rc = CIFSSMBSetTimes(xid, pTcon, full_path, | 740 | rc = CIFSSMBSetPathInfo(xid, pTcon, full_path, |
741 | pinfo_buf, | 741 | pinfo_buf, |
742 | cifs_sb->local_nls, | 742 | cifs_sb->local_nls, |
743 | cifs_sb->mnt_cifs_flags & | 743 | cifs_sb->mnt_cifs_flags & |
@@ -1010,7 +1010,7 @@ mkdir_get_info: | |||
1010 | FILE_BASIC_INFO pInfo; | 1010 | FILE_BASIC_INFO pInfo; |
1011 | memset(&pInfo, 0, sizeof(pInfo)); | 1011 | memset(&pInfo, 0, sizeof(pInfo)); |
1012 | pInfo.Attributes = cpu_to_le32(ATTR_READONLY); | 1012 | pInfo.Attributes = cpu_to_le32(ATTR_READONLY); |
1013 | CIFSSMBSetTimes(xid, pTcon, full_path, | 1013 | CIFSSMBSetPathInfo(xid, pTcon, full_path, |
1014 | &pInfo, cifs_sb->local_nls, | 1014 | &pInfo, cifs_sb->local_nls, |
1015 | cifs_sb->mnt_cifs_flags & | 1015 | cifs_sb->mnt_cifs_flags & |
1016 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 1016 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
@@ -1680,8 +1680,8 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs) | |||
1680 | /* In the future we should experiment - try setting timestamps | 1680 | /* In the future we should experiment - try setting timestamps |
1681 | via Handle (SetFileInfo) instead of by path */ | 1681 | via Handle (SetFileInfo) instead of by path */ |
1682 | if (!(pTcon->ses->flags & CIFS_SES_NT4)) | 1682 | if (!(pTcon->ses->flags & CIFS_SES_NT4)) |
1683 | rc = CIFSSMBSetTimes(xid, pTcon, full_path, &time_buf, | 1683 | rc = CIFSSMBSetPathInfo(xid, pTcon, full_path, |
1684 | cifs_sb->local_nls, | 1684 | &time_buf, cifs_sb->local_nls, |
1685 | cifs_sb->mnt_cifs_flags & | 1685 | cifs_sb->mnt_cifs_flags & |
1686 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 1686 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
1687 | else | 1687 | else |