diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-21 17:19:48 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-21 17:19:48 -0800 |
commit | 1a4c6be4aca5ad6b300932efed1e2729fdc25af9 (patch) | |
tree | 99f43fadbc0dc6c43d275d4c7fafd3b52cccb217 /fs/nfsd/nfsfh.c | |
parent | a62f735cbb1a0937ab6a9196dadf752694ef0b7f (diff) | |
parent | 5216a8e70e25b01cbd2915cd0442fb96deb2c262 (diff) | |
download | linux-1a4c6be4aca5ad6b300932efed1e2729fdc25af9.tar.gz linux-1a4c6be4aca5ad6b300932efed1e2729fdc25af9.tar.bz2 linux-1a4c6be4aca5ad6b300932efed1e2729fdc25af9.zip |
Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
Wrap buffers used for rpc debug printks into RPC_IFDEBUG
nfs: fix sparse warnings
NFS: flush signals before taking down callback thread
Diffstat (limited to 'fs/nfsd/nfsfh.c')
-rw-r--r-- | fs/nfsd/nfsfh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c index 0130b345234d..1eb771d79cca 100644 --- a/fs/nfsd/nfsfh.c +++ b/fs/nfsd/nfsfh.c @@ -101,7 +101,7 @@ static __be32 nfsd_setuser_and_check_port(struct svc_rqst *rqstp, { /* Check if the request originated from a secure port. */ if (!rqstp->rq_secure && EX_SECURE(exp)) { - char buf[RPC_MAX_ADDRBUFLEN]; + RPC_IFDEBUG(char buf[RPC_MAX_ADDRBUFLEN]); dprintk(KERN_WARNING "nfsd: request from insecure port %s!\n", svc_print_addr(rqstp, buf, sizeof(buf))); |