diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index ca74c1151be9..0cec0e76d85e 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -1365,6 +1365,8 @@ static void cifs_copy_cache_pages(struct address_space *mapping, | |||
1365 | GFP_KERNEL)) { | 1365 | GFP_KERNEL)) { |
1366 | page_cache_release(page); | 1366 | page_cache_release(page); |
1367 | cFYI(1, ("Add page cache failed")); | 1367 | cFYI(1, ("Add page cache failed")); |
1368 | data += PAGE_CACHE_SIZE; | ||
1369 | bytes_read -= PAGE_CACHE_SIZE; | ||
1368 | continue; | 1370 | continue; |
1369 | } | 1371 | } |
1370 | 1372 | ||