diff options
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index 70ffec135696..c39882191651 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h | |||
@@ -323,9 +323,10 @@ void pnfs_generic_write_commit_done(struct rpc_task *task, void *data); | |||
323 | void nfs4_pnfs_ds_put(struct nfs4_pnfs_ds *ds); | 323 | void nfs4_pnfs_ds_put(struct nfs4_pnfs_ds *ds); |
324 | struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs, | 324 | struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs, |
325 | gfp_t gfp_flags); | 325 | gfp_t gfp_flags); |
326 | void nfs4_pnfs_v3_ds_connect_unload(void); | ||
326 | void nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, | 327 | void nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, |
327 | struct nfs4_deviceid_node *devid, unsigned int timeo, | 328 | struct nfs4_deviceid_node *devid, unsigned int timeo, |
328 | unsigned int retrans, u32 versoin, u32 minor_version, | 329 | unsigned int retrans, u32 version, u32 minor_version, |
329 | rpc_authflavor_t au_flavor); | 330 | rpc_authflavor_t au_flavor); |
330 | struct nfs4_pnfs_ds_addr *nfs4_decode_mp_ds_addr(struct net *net, | 331 | struct nfs4_pnfs_ds_addr *nfs4_decode_mp_ds_addr(struct net *net, |
331 | struct xdr_stream *xdr, | 332 | struct xdr_stream *xdr, |
@@ -615,6 +616,10 @@ static inline struct nfs4_threshold *pnfs_mdsthreshold_alloc(void) | |||
615 | return NULL; | 616 | return NULL; |
616 | } | 617 | } |
617 | 618 | ||
619 | static inline void nfs4_pnfs_v3_ds_connect_unload(void) | ||
620 | { | ||
621 | } | ||
622 | |||
618 | #endif /* CONFIG_NFS_V4_1 */ | 623 | #endif /* CONFIG_NFS_V4_1 */ |
619 | 624 | ||
620 | #endif /* FS_NFS_PNFS_H */ | 625 | #endif /* FS_NFS_PNFS_H */ |