dm.c (62f263178c16df300f92098c1a6edca0be7d204d) | dm.c (5b0fab508992c2e120971da658ce80027acbc405) |
---|---|
1/* 2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited. 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include "dm-core.h" --- 1119 unchanged lines hidden (view full) --- 1128 struct dm_table *map; 1129 bool ret = false; 1130 int srcu_idx; 1131 1132 map = dm_get_live_table(md, &srcu_idx); 1133 if (!map) 1134 goto out; 1135 | 1/* 2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited. 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include "dm-core.h" --- 1119 unchanged lines hidden (view full) --- 1128 struct dm_table *map; 1129 bool ret = false; 1130 int srcu_idx; 1131 1132 map = dm_get_live_table(md, &srcu_idx); 1133 if (!map) 1134 goto out; 1135 |
1136 ret = dm_table_supports_dax(map, device_supports_dax, &blocksize); | 1136 ret = dm_table_supports_dax(map, device_not_dax_capable, &blocksize); |
1137 1138out: 1139 dm_put_live_table(md, srcu_idx); 1140 1141 return ret; 1142} 1143 1144static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, --- 1962 unchanged lines hidden --- | 1137 1138out: 1139 dm_put_live_table(md, srcu_idx); 1140 1141 return ret; 1142} 1143 1144static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, --- 1962 unchanged lines hidden --- |