[PATCH] zoned vm counters: conversion of nr_dirty to per zone counter
[deliverable/linux.git] / fs / fs-writeback.c
index 031b27a4bc9a170a9436f73353e10864fe78d5d1..e5ad1075684894b901c1799bcf29ffc90ce4465f 100644 (file)
@@ -464,7 +464,7 @@ void sync_inodes_sb(struct super_block *sb, int wait)
                .range_start    = 0,
                .range_end      = LLONG_MAX,
        };
-       unsigned long nr_dirty = read_page_state(nr_dirty);
+       unsigned long nr_dirty = global_page_state(NR_FILE_DIRTY);
        unsigned long nr_unstable = read_page_state(nr_unstable);
 
        wbc.nr_to_write = nr_dirty + nr_unstable +
This page took 0.023409 seconds and 5 git commands to generate.