diff options
author | Peng Tao <tao.peng@primarydata.com> | 2014-05-29 09:06:59 -0400 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 14:06:32 -0500 |
commit | 6b7f3cf96364eaf597940cb5c68a682894829915 (patch) | |
tree | 532e1216ff4e72da9600f5504d862ced8e0fd8db /fs/nfs/pnfs.h | |
parent | 875ae0694be48f3e3bdddd435b79abf52b680299 (diff) |
nfs41: pull decode_ds_addr from file layout to generic pnfs
It can be reused by flexfile layout.
Reviewed-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index b0168f1dd072..403d7bb67c41 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h | |||
@@ -312,6 +312,9 @@ void pnfs_generic_write_commit_done(struct rpc_task *task, void *data); | |||
312 | void nfs4_pnfs_ds_put(struct nfs4_pnfs_ds *ds); | 312 | void nfs4_pnfs_ds_put(struct nfs4_pnfs_ds *ds); |
313 | struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs, | 313 | struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs, |
314 | gfp_t gfp_flags); | 314 | gfp_t gfp_flags); |
315 | struct nfs4_pnfs_ds_addr *nfs4_decode_mp_ds_addr(struct net *net, | ||
316 | struct xdr_stream *xdr, | ||
317 | gfp_t gfp_flags); | ||
315 | 318 | ||
316 | static inline struct nfs4_deviceid_node * | 319 | static inline struct nfs4_deviceid_node * |
317 | nfs4_get_deviceid(struct nfs4_deviceid_node *d) | 320 | nfs4_get_deviceid(struct nfs4_deviceid_node *d) |