ASoC: rockchip: spdif: increase dma burst size
[firefly-linux-kernel-4.4.55.git] / fs / super.c
index 68307c029228c51efc0e7967c90c39edd1a85113..e028b508db253ea3a134325fc5f8d2984554c1d9 100644 (file)
@@ -76,6 +76,8 @@ static int prune_super(struct shrinker *shrink, struct shrink_control *sc)
 
        total_objects = sb->s_nr_dentry_unused +
                        sb->s_nr_inodes_unused + fs_objects + 1;
+       if (!total_objects)
+               total_objects = 1;
 
        if (sc->nr_to_scan) {
                int     dentries;