diff options
author | Benny Halevy <bhalevy@panasas.com> | 2011-05-22 12:51:33 -0400 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2011-05-29 13:53:50 -0400 |
commit | 636fb9c89d7e216aac3d406e458864420057e981 (patch) | |
tree | 4342ccf39c4b4b26bdcf79833c7f98f8b9913262 /fs/nfs/pnfs.h | |
parent | b6c05f1693115164c7b797152ac7ea3ef8e5d296 (diff) |
pnfs: alloc and free layout_hdr layoutdriver methods
[gfp_flags]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index f37ab3539cbf..925d6ef8ba79 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h | |||
@@ -73,6 +73,10 @@ struct pnfs_layoutdriver_type { | |||
73 | const u32 id; | 73 | const u32 id; |
74 | const char *name; | 74 | const char *name; |
75 | struct module *owner; | 75 | struct module *owner; |
76 | |||
77 | struct pnfs_layout_hdr * (*alloc_layout_hdr) (struct inode *inode, gfp_t gfp_flags); | ||
78 | void (*free_layout_hdr) (struct pnfs_layout_hdr *); | ||
79 | |||
76 | struct pnfs_layout_segment * (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags); | 80 | struct pnfs_layout_segment * (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags); |
77 | void (*free_lseg) (struct pnfs_layout_segment *lseg); | 81 | void (*free_lseg) (struct pnfs_layout_segment *lseg); |
78 | 82 | ||