diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nfs_idmap.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/nfs_idmap.h b/include/linux/nfs_idmap.h index 333844e38f66..daaf3ea5e9d8 100644 --- a/include/linux/nfs_idmap.h +++ b/include/linux/nfs_idmap.h | |||
| @@ -46,19 +46,8 @@ struct nfs_server; | |||
| 46 | struct nfs_fattr; | 46 | struct nfs_fattr; |
| 47 | struct nfs4_string; | 47 | struct nfs4_string; |
| 48 | 48 | ||
| 49 | #if IS_ENABLED(CONFIG_NFS_V4) | ||
| 50 | int nfs_idmap_init(void); | 49 | int nfs_idmap_init(void); |
| 51 | void nfs_idmap_quit(void); | 50 | void nfs_idmap_quit(void); |
| 52 | #else | ||
| 53 | static inline int nfs_idmap_init(void) | ||
| 54 | { | ||
| 55 | return 0; | ||
| 56 | } | ||
| 57 | |||
| 58 | static inline void nfs_idmap_quit(void) | ||
| 59 | {} | ||
| 60 | #endif | ||
| 61 | |||
| 62 | int nfs_idmap_new(struct nfs_client *); | 51 | int nfs_idmap_new(struct nfs_client *); |
| 63 | void nfs_idmap_delete(struct nfs_client *); | 52 | void nfs_idmap_delete(struct nfs_client *); |
| 64 | 53 | ||
