[PATCH] zoned vm counters: conversion of nr_dirty to per zone counter
[deliverable/linux.git] / fs / nfs / pagelist.c
index ef9429643ebcc8e231268e58551cbf899df0336c..26b1fe9093770efc7eb801283d5c33a8f7b34607 100644 (file)
@@ -315,6 +315,7 @@ nfs_scan_lock_dirty(struct nfs_inode *nfsi, struct list_head *dst,
                                                req->wb_index, NFS_PAGE_TAG_DIRTY);
                                nfs_list_remove_request(req);
                                nfs_list_add_request(req, dst);
+                               dec_zone_page_state(req->wb_page, NR_FILE_DIRTY);
                                res++;
                        }
                }
@@ -390,7 +391,7 @@ int __init nfs_init_nfspagecache(void)
        return 0;
 }
 
-void __exit nfs_destroy_nfspagecache(void)
+void nfs_destroy_nfspagecache(void)
 {
        if (kmem_cache_destroy(nfs_page_cachep))
                printk(KERN_INFO "nfs_page: not all structures were freed\n");
This page took 0.02741 seconds and 5 git commands to generate.