diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 579e41b350a2..00b6bf08cdba 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -1878,7 +1878,7 @@ static int cifs_partialpagewrite(struct page *page, unsigned from, unsigned to) | |||
1878 | write_data, to - from, &offset); | 1878 | write_data, to - from, &offset); |
1879 | cifsFileInfo_put(open_file); | 1879 | cifsFileInfo_put(open_file); |
1880 | /* Does mm or vfs already set times? */ | 1880 | /* Does mm or vfs already set times? */ |
1881 | inode->i_atime = inode->i_mtime = current_fs_time(inode->i_sb); | 1881 | inode->i_atime = inode->i_mtime = current_time(inode); |
1882 | if ((bytes_written > 0) && (offset)) | 1882 | if ((bytes_written > 0) && (offset)) |
1883 | rc = 0; | 1883 | rc = 0; |
1884 | else if (bytes_written < 0) | 1884 | else if (bytes_written < 0) |
@@ -3571,7 +3571,7 @@ static int cifs_readpage_worker(struct file *file, struct page *page, | |||
3571 | cifs_dbg(FYI, "Bytes read %d\n", rc); | 3571 | cifs_dbg(FYI, "Bytes read %d\n", rc); |
3572 | 3572 | ||
3573 | file_inode(file)->i_atime = | 3573 | file_inode(file)->i_atime = |
3574 | current_fs_time(file_inode(file)->i_sb); | 3574 | current_time(file_inode(file)); |
3575 | 3575 | ||
3576 | if (PAGE_SIZE > rc) | 3576 | if (PAGE_SIZE > rc) |
3577 | memset(read_data + rc, 0, PAGE_SIZE - rc); | 3577 | memset(read_data + rc, 0, PAGE_SIZE - rc); |