diff mbox

pnfs/objlayout: wire up .alloc_device_id_node

Message ID 1421225983-16583-1-git-send-email-hch@lst.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Hellwig Jan. 14, 2015, 8:59 a.m. UTC
This fixes commit 661373b1 ("pnfs: factor GETDEVICEINFO implementations"),
which forgot to wire up the new method for the objlayout driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 fs/nfs/objlayout/objio_osd.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
index 9e5bc42..ef2057f 100644
--- a/fs/nfs/objlayout/objio_osd.c
+++ b/fs/nfs/objlayout/objio_osd.c
@@ -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,