[Devel,rh7] fs/dax: remove comment leftover

Submitted by Andrey Ryabinin on Aug. 29, 2017, 8:54 a.m.

Details

Message ID 20170829085435.9143-1-aryabinin@virtuozzo.com
State New
Series "fs/dax: remove comment leftover"
Headers show

Commit Message

Andrey Ryabinin Aug. 29, 2017, 8:54 a.m.
mem_cgroup_uncharge_page() call in dax_mapping_entry() not needed.
Uncharging now happens in __page_cache_release()

Should be merged in b3c711a7287f ("ms/mm: memcontrol: rewrite uncharge API")

https://jira.sw.ru/browse/PSBM-70742
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
---
 fs/dax.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/fs/dax.c b/fs/dax.c
index 1a7d6a5e3e07..2e0c8ba24f30 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -643,7 +643,6 @@  static void *dax_insert_mapping_entry(struct address_space *mapping,
 		       RADIX_DAX_ENTRY_LOCK);
 	if (hole_fill) {
 		__delete_from_page_cache(entry, NULL);
-// FIXME		mem_cgroup_uncharge_page(entry);
 		/* Drop pagecache reference */
 		page_cache_release(entry);
 		error = radix_tree_insert(page_tree, index, new_entry);