Skip to content

Commit 9ba6873

Browse files
committed
Merge tag 'libnvdimm-fixes2-4.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
Dan writes: "filesystem-dax for 4.19-rc6 Fix a deadlock in the new for 4.19 dax_lock_mapping_entry() routine." * tag 'libnvdimm-fixes2-4.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: dax: Fix deadlock in dax_lock_mapping_entry()
2 parents 291d0e5 + f52afc9 commit 9ba6873

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/dax.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ bool dax_lock_mapping_entry(struct page *page)
447447
xa_unlock_irq(&mapping->i_pages);
448448
break;
449449
} else if (IS_ERR(entry)) {
450+
xa_unlock_irq(&mapping->i_pages);
450451
WARN_ON_ONCE(PTR_ERR(entry) != -EAGAIN);
451452
continue;
452453
}

0 commit comments

Comments
 (0)