Thread (100 messages) 100 messages, 4 authors, 2021-11-24

Re: [PATCH 08/29] dax: remove dax_capable

From: Christoph Hellwig <hch@lst.de>
Date: 2021-11-24 06:37:40
Also in: dm-devel, linux-ext4, linux-s390, linux-xfs, nvdimm, virtualization

On Tue, Nov 23, 2021 at 02:31:23PM -0800, Darrick J. Wong wrote:
quoted
-	struct super_block	*sb = mp->m_super;
-
-	if (!xfs_buftarg_is_dax(sb, mp->m_ddev_targp) &&
-	   (!mp->m_rtdev_targp || !xfs_buftarg_is_dax(sb, mp->m_rtdev_targp))) {
+	if (!mp->m_ddev_targp->bt_daxdev &&
+	   (!mp->m_rtdev_targp || !mp->m_rtdev_targp->bt_daxdev)) {
Nit: This  ^ paren should be indented one more column because it's a
sub-clause of the if() test.
Done.
Nit: xfs_alert() already adds a newline to the end of the format string.
Already done in the current tree.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help