diff options
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r-- | fs/nfsd/nfsd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index 1d1e8589b4ce..1671429ffa66 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h | |||
@@ -364,12 +364,17 @@ static inline u32 nfsd_suppattrs2(u32 minorversion) | |||
364 | NFSD_WRITEABLE_ATTRS_WORD2 | 364 | NFSD_WRITEABLE_ATTRS_WORD2 |
365 | 365 | ||
366 | extern int nfsd4_is_junction(struct dentry *dentry); | 366 | extern int nfsd4_is_junction(struct dentry *dentry); |
367 | #else | 367 | extern int register_cld_notifier(void); |
368 | extern void unregister_cld_notifier(void); | ||
369 | #else /* CONFIG_NFSD_V4 */ | ||
368 | static inline int nfsd4_is_junction(struct dentry *dentry) | 370 | static inline int nfsd4_is_junction(struct dentry *dentry) |
369 | { | 371 | { |
370 | return 0; | 372 | return 0; |
371 | } | 373 | } |
372 | 374 | ||
375 | #define register_cld_notifier() 0 | ||
376 | #define unregister_cld_notifier() do { } while(0) | ||
377 | |||
373 | #endif /* CONFIG_NFSD_V4 */ | 378 | #endif /* CONFIG_NFSD_V4 */ |
374 | 379 | ||
375 | #endif /* LINUX_NFSD_NFSD_H */ | 380 | #endif /* LINUX_NFSD_NFSD_H */ |