]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/fs-writeback.c
Merge tag 'sched-urgent-2021-08-08' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-jammy-kernel.git] / fs / fs-writeback.c
index 06d04a74ab6c70ffa0441a2a70a77267ed9f0f34..4c33705489825a8205e3e372415f4aa50ef41147 100644 (file)
@@ -521,6 +521,9 @@ static bool inode_prepare_wbs_switch(struct inode *inode,
         */
        smp_mb();
 
+       if (IS_DAX(inode))
+               return false;
+
        /* while holding I_WB_SWITCH, no one else can update the association */
        spin_lock(&inode->i_lock);
        if (!(inode->i_sb->s_flags & SB_ACTIVE) ||