aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index aaad4ce6e6c5..4435b11c41b9 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -1619,9 +1619,9 @@ cifs_readv_complete(struct work_struct *work)
1619 list_for_each_entry_safe(page, tpage, &rdata->pages, lru) { 1619 list_for_each_entry_safe(page, tpage, &rdata->pages, lru) {
1620 list_del(&page->lru); 1620 list_del(&page->lru);
1621 lru_cache_add_file(page); 1621 lru_cache_add_file(page);
1622 kunmap(page);
1623 1622
1624 if (rdata->result == 0) { 1623 if (rdata->result == 0) {
1624 kunmap(page);
1625 flush_dcache_page(page); 1625 flush_dcache_page(page);
1626 SetPageUptodate(page); 1626 SetPageUptodate(page);
1627 } 1627 }