diff options
-rw-r--r-- | mm/filemap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 876bc595d0f8..bf8f9c0c7a83 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -1186,8 +1186,7 @@ out: | |||
1186 | ra->prev_pos |= prev_offset; | 1186 | ra->prev_pos |= prev_offset; |
1187 | 1187 | ||
1188 | *ppos = ((loff_t)index << PAGE_CACHE_SHIFT) + offset; | 1188 | *ppos = ((loff_t)index << PAGE_CACHE_SHIFT) + offset; |
1189 | if (filp) | 1189 | file_accessed(filp); |
1190 | file_accessed(filp); | ||
1191 | } | 1190 | } |
1192 | 1191 | ||
1193 | int file_read_actor(read_descriptor_t *desc, struct page *page, | 1192 | int file_read_actor(read_descriptor_t *desc, struct page *page, |