Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91e56aae authored by Bryan Schumaker's avatar Bryan Schumaker Committed by Trond Myklebust
Browse files

NFS: Undo changes to idmap.h



When compiled without NFS v4 configured these function won't be defined
and the compiler will yell.

Signed-off-by: default avatarBryan Schumaker <bjschuma@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 8aa0a410
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -69,8 +69,19 @@ struct nfs_server;
struct nfs_fattr;
struct nfs_fattr;
struct nfs4_string;
struct nfs4_string;


#ifdef CONFIG_NFS_V4
int nfs_idmap_init(void);
int nfs_idmap_init(void);
void nfs_idmap_quit(void);
void nfs_idmap_quit(void);
#else
static inline int nfs_idmap_init(void)
{
	return 0;
}

static inline void nfs_idmap_quit(void)
{}
#endif

int nfs_idmap_new(struct nfs_client *);
int nfs_idmap_new(struct nfs_client *);
void nfs_idmap_delete(struct nfs_client *);
void nfs_idmap_delete(struct nfs_client *);