mirror of https://gitee.com/openkylin/linux.git
nfsd: namespace-prefix uuid_parse
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
e6fd2093a8
commit
12ce5f8c5c
|
@ -486,7 +486,7 @@ secinfo_parse(char **mesg, char *buf, struct svc_export *exp) { return 0; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
uuid_parse(char **mesg, char *buf, unsigned char **puuid)
|
nfsd_uuid_parse(char **mesg, char *buf, unsigned char **puuid)
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
|
@ -586,7 +586,7 @@ static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen)
|
||||||
if (strcmp(buf, "fsloc") == 0)
|
if (strcmp(buf, "fsloc") == 0)
|
||||||
err = fsloc_parse(&mesg, buf, &exp.ex_fslocs);
|
err = fsloc_parse(&mesg, buf, &exp.ex_fslocs);
|
||||||
else if (strcmp(buf, "uuid") == 0)
|
else if (strcmp(buf, "uuid") == 0)
|
||||||
err = uuid_parse(&mesg, buf, &exp.ex_uuid);
|
err = nfsd_uuid_parse(&mesg, buf, &exp.ex_uuid);
|
||||||
else if (strcmp(buf, "secinfo") == 0)
|
else if (strcmp(buf, "secinfo") == 0)
|
||||||
err = secinfo_parse(&mesg, buf, &exp);
|
err = secinfo_parse(&mesg, buf, &exp);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue