[PATCH] pnfs/objlayout: wire up .alloc_device_id_node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 fs/nfs/objlayout/objio_osd.c | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux