UBIFS: introduce new flags for RO mounts
[deliverable/linux.git] / fs / ubifs / shrinker.c
index 0b201114a5adf9cfc9c04b6730442748c079fa9d..46961c00323627f3ee2a77d4633b7bcd44a839b8 100644 (file)
@@ -250,7 +250,7 @@ static int kick_a_thread(void)
                        dirty_zn_cnt = atomic_long_read(&c->dirty_zn_cnt);
 
                        if (!dirty_zn_cnt || c->cmt_state == COMMIT_BROKEN ||
-                           c->ro_media) {
+                           c->ro_mount || c->ro_error) {
                                mutex_unlock(&c->umount_mutex);
                                continue;
                        }
This page took 0.031776 seconds and 5 git commands to generate.