diff options
Diffstat (limited to 'fs/ntfs/aops.h')
-rw-r--r-- | fs/ntfs/aops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/aops.h b/fs/ntfs/aops.h index caecc58f529c..820d6eabf60f 100644 --- a/fs/ntfs/aops.h +++ b/fs/ntfs/aops.h | |||
@@ -40,7 +40,7 @@ | |||
40 | static inline void ntfs_unmap_page(struct page *page) | 40 | static inline void ntfs_unmap_page(struct page *page) |
41 | { | 41 | { |
42 | kunmap(page); | 42 | kunmap(page); |
43 | page_cache_release(page); | 43 | put_page(page); |
44 | } | 44 | } |
45 | 45 | ||
46 | /** | 46 | /** |
@@ -49,7 +49,7 @@ static inline void ntfs_unmap_page(struct page *page) | |||
49 | * @index: index into the page cache for @mapping of the page to map | 49 | * @index: index into the page cache for @mapping of the page to map |
50 | * | 50 | * |
51 | * Read a page from the page cache of the address space @mapping at position | 51 | * Read a page from the page cache of the address space @mapping at position |
52 | * @index, where @index is in units of PAGE_CACHE_SIZE, and not in bytes. | 52 | * @index, where @index is in units of PAGE_SIZE, and not in bytes. |
53 | * | 53 | * |
54 | * If the page is not in memory it is loaded from disk first using the readpage | 54 | * If the page is not in memory it is loaded from disk first using the readpage |
55 | * method defined in the address space operations of @mapping and the page is | 55 | * method defined in the address space operations of @mapping and the page is |