[PATCH] knfsd: nfsd4: make needlessly global code static
This patch contains the following possible cleanups: - make needlessly global code static Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
a76b4319ca
commit
fd39ca9a80
@@ -136,7 +136,7 @@ xdr_error: \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
u32 *read_buf(struct nfsd4_compoundargs *argp, int nbytes)
|
||||
static u32 *read_buf(struct nfsd4_compoundargs *argp, int nbytes)
|
||||
{
|
||||
/* We want more bytes than seem to be available.
|
||||
* Maybe we need a new page, maybe we have just run out
|
||||
@@ -190,7 +190,7 @@ defer_free(struct nfsd4_compoundargs *argp,
|
||||
return 0;
|
||||
}
|
||||
|
||||
char *savemem(struct nfsd4_compoundargs *argp, u32 *p, int nbytes)
|
||||
static char *savemem(struct nfsd4_compoundargs *argp, u32 *p, int nbytes)
|
||||
{
|
||||
void *new = NULL;
|
||||
if (p == argp->tmp) {
|
||||
|
Reference in New Issue
Block a user