nfsd.h (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) | nfsd.h (16c663642c7ec03cd4cee5fec520bb69e97babe4) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Hodge-podge collection of knfsd-related stuff. 4 * I will sort this out later. 5 * 6 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> 7 */ 8 --- 64 unchanged lines hidden (view full) --- 73 74extern const struct seq_operations nfs_exports_op; 75 76/* 77 * Common void argument and result helpers 78 */ 79struct nfsd_voidargs { }; 80struct nfsd_voidres { }; | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Hodge-podge collection of knfsd-related stuff. 4 * I will sort this out later. 5 * 6 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> 7 */ 8 --- 64 unchanged lines hidden (view full) --- 73 74extern const struct seq_operations nfs_exports_op; 75 76/* 77 * Common void argument and result helpers 78 */ 79struct nfsd_voidargs { }; 80struct nfsd_voidres { }; |
81int nfssvc_decode_voidarg(struct svc_rqst *rqstp, __be32 *p); | 81int nfssvc_decode_voidarg(struct svc_rqst *rqstp, 82 struct xdr_stream *xdr); |
82int nfssvc_encode_voidres(struct svc_rqst *rqstp, __be32 *p); 83 84/* 85 * Function prototypes. 86 */ 87int nfsd_svc(int nrservs, struct net *net, const struct cred *cred); 88int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp); 89 --- 389 unchanged lines hidden (view full) --- 479 (NFSD_WRITEABLE_ATTRS_WORD1 & \ 480 ~(FATTR4_WORD1_TIME_ACCESS_SET | FATTR4_WORD1_TIME_MODIFY_SET)) 481#define NFSD_SUPPATTR_EXCLCREAT_WORD2 \ 482 NFSD_WRITEABLE_ATTRS_WORD2 483 484extern int nfsd4_is_junction(struct dentry *dentry); 485extern int register_cld_notifier(void); 486extern void unregister_cld_notifier(void); | 83int nfssvc_encode_voidres(struct svc_rqst *rqstp, __be32 *p); 84 85/* 86 * Function prototypes. 87 */ 88int nfsd_svc(int nrservs, struct net *net, const struct cred *cred); 89int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp); 90 --- 389 unchanged lines hidden (view full) --- 480 (NFSD_WRITEABLE_ATTRS_WORD1 & \ 481 ~(FATTR4_WORD1_TIME_ACCESS_SET | FATTR4_WORD1_TIME_MODIFY_SET)) 482#define NFSD_SUPPATTR_EXCLCREAT_WORD2 \ 483 NFSD_WRITEABLE_ATTRS_WORD2 484 485extern int nfsd4_is_junction(struct dentry *dentry); 486extern int register_cld_notifier(void); 487extern void unregister_cld_notifier(void); |
488#ifdef CONFIG_NFSD_V4_2_INTER_SSC 489extern void nfsd4_ssc_init_umount_work(struct nfsd_net *nn); 490#endif 491 |
|
487#else /* CONFIG_NFSD_V4 */ 488static inline int nfsd4_is_junction(struct dentry *dentry) 489{ 490 return 0; 491} 492 493#define register_cld_notifier() 0 494#define unregister_cld_notifier() do { } while(0) 495 496#endif /* CONFIG_NFSD_V4 */ 497 498#endif /* LINUX_NFSD_NFSD_H */ | 492#else /* CONFIG_NFSD_V4 */ 493static inline int nfsd4_is_junction(struct dentry *dentry) 494{ 495 return 0; 496} 497 498#define register_cld_notifier() 0 499#define unregister_cld_notifier() do { } while(0) 500 501#endif /* CONFIG_NFSD_V4 */ 502 503#endif /* LINUX_NFSD_NFSD_H */ |