Skip to contentSkip to conversation

pnfs/objlayout: wire up .alloc_device_id_node

PATCH New Christoph Hellwig 1 participant 1 message Jan 14, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pnfs/objlayout: wire up .alloc_device_id_node

This fixes commit 661373b1 ("pnfs: factor GETDEVICEINFO implementations"), which forgot to wire up the new method for the objlayout driver.

---
 fs/nfs/objlayout/objio_osd.c | 1 +
 1 file changed, 1 insertion(+)
fs/nfs/objlayout/objio_osd.c +1 -0
index 9e5bc42..ef2057f 100644
@@ -634,6 +634,7 @@ static struct pnfs_layoutdriver_type objlayout_type = {
 	.pg_read_ops             = &objio_pg_read_ops,
 	.pg_write_ops            = &objio_pg_write_ops,
 
+	.alloc_deviceid_node	 = objio_alloc_deviceid_node,
 	.free_deviceid_node	 = objio_free_deviceid_node,
 
 	.encode_layoutcommit	 = objlayout_encode_layoutcommit,
Signature · 1 line
1.9.1