]> git.hungrycats.org Git - linux/commitdiff
zygo: fs/fs-writeback.c: WARN_ON_ONCE, this is a test kernel after all
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Mon, 1 Jun 2020 03:52:32 +0000 (23:52 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 6 Mar 2021 14:44:26 +0000 (09:44 -0500)
fs/fs-writeback.c

index 06d9ff8c3f728f1e58173e1ad5b1508a16380472..d1e06643d1b46c56f204476a88a930c0ad2d1222 100644 (file)
@@ -2465,7 +2465,7 @@ static void __writeback_inodes_sb_nr(struct super_block *sb, unsigned long nr,
 
        if (!bdi_has_dirty_io(bdi) || bdi == &noop_backing_dev_info)
                return;
-       /* Zygo: shut this up for testing: WARN_ON(!rwsem_is_locked(&sb->s_umount)); */
+       WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount));
 
        bdi_split_work_to_wbs(sb->s_bdi, &work, skip_if_busy);
        wb_wait_for_completion(&done);