summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-21 17:19:48 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-21 17:19:48 -0800
commit1a4c6be4aca5ad6b300932efed1e2729fdc25af9 (patch)
tree99f43fadbc0dc6c43d275d4c7fafd3b52cccb217 /fs/nfs/callback.c
parenta62f735cbb1a0937ab6a9196dadf752694ef0b7f (diff)
parent5216a8e70e25b01cbd2915cd0442fb96deb2c262 (diff)
downloadlinux-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/nfs/callback.c')
-rw-r--r--fs/nfs/callback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index ecc06c619494..66648dd92d97 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -93,6 +93,7 @@ static void nfs_callback_svc(struct svc_rqst *rqstp)
svc_process(rqstp);
}
+ flush_signals(current);
svc_exit_thread(rqstp);
nfs_callback_info.pid = 0;
complete(&nfs_callback_info.stopped);
@@ -171,7 +172,7 @@ void nfs_callback_down(void)
static int nfs_callback_authenticate(struct svc_rqst *rqstp)
{
struct nfs_client *clp;
- char buf[RPC_MAX_ADDRBUFLEN];
+ RPC_IFDEBUG(char buf[RPC_MAX_ADDRBUFLEN]);
/* Don't talk to strangers */
clp = nfs_find_client(svc_addr(rqstp), 4);