aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/objlayout/objio_osd.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2011-05-22 12:51:48 -0400
committerBoaz Harrosh <bharrosh@panasas.com>2011-05-29 13:53:51 -0400
commite51b841dd0be9ff53f740c44c32c32679edcb7c8 (patch)
tree03e46d6013fa2a45ad22b3f510267d11e5f8d25a /fs/nfs/objlayout/objio_osd.c
parent636fb9c89d7e216aac3d406e458864420057e981 (diff)
pnfs-obj: define per-inode private structure
allocate and deallocate per-inode private pnfs_layout_hdr in preparation for I/O implementation. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/objlayout/objio_osd.c')
-rw-r--r--fs/nfs/objlayout/objio_osd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
index 2255e2d22d05..353821f7937b 100644
--- a/fs/nfs/objlayout/objio_osd.c
+++ b/fs/nfs/objlayout/objio_osd.c
@@ -364,6 +364,9 @@ static struct pnfs_layoutdriver_type objlayout_type = {
364 .id = LAYOUT_OSD2_OBJECTS, 364 .id = LAYOUT_OSD2_OBJECTS,
365 .name = "LAYOUT_OSD2_OBJECTS", 365 .name = "LAYOUT_OSD2_OBJECTS",
366 366
367 .alloc_layout_hdr = objlayout_alloc_layout_hdr,
368 .free_layout_hdr = objlayout_free_layout_hdr,
369
367 .alloc_lseg = objlayout_alloc_lseg, 370 .alloc_lseg = objlayout_alloc_lseg,
368 .free_lseg = objlayout_free_lseg, 371 .free_lseg = objlayout_free_lseg,
369 372