aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/objlayout/objlayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/objlayout/objlayout.h')
-rw-r--r--fs/nfs/objlayout/objlayout.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nfs/objlayout/objlayout.h b/fs/nfs/objlayout/objlayout.h
index 066280a07fa8..0814271bb9ba 100644
--- a/fs/nfs/objlayout/objlayout.h
+++ b/fs/nfs/objlayout/objlayout.h
@@ -56,6 +56,14 @@ extern int objio_alloc_lseg(struct pnfs_layout_segment **outp,
56extern void objio_free_lseg(struct pnfs_layout_segment *lseg); 56extern void objio_free_lseg(struct pnfs_layout_segment *lseg);
57 57
58/* 58/*
59 * callback API
60 */
61extern int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay,
62 struct nfs4_deviceid *d_id, struct pnfs_osd_deviceaddr **deviceaddr,
63 gfp_t gfp_flags);
64extern void objlayout_put_deviceinfo(struct pnfs_osd_deviceaddr *deviceaddr);
65
66/*
59 * exported generic objects function vectors 67 * exported generic objects function vectors
60 */ 68 */
61extern struct pnfs_layout_segment *objlayout_alloc_lseg( 69extern struct pnfs_layout_segment *objlayout_alloc_lseg(