summaryrefslogtreecommitdiff
path: root/fs/lockd
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-22 04:19:48 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-22 04:19:48 +0300
commit1a4c6be4aca5ad6b300932efed1e2729fdc25af9 (patch)
tree99f43fadbc0dc6c43d275d4c7fafd3b52cccb217 /fs/lockd
parenta62f735cbb1a0937ab6a9196dadf752694ef0b7f (diff)
parent5216a8e70e25b01cbd2915cd0442fb96deb2c262 (diff)
downloadlinux-1a4c6be4aca5ad6b300932efed1e2729fdc25af9.tar.xz
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/lockd')
-rw-r--r--fs/lockd/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index 08226464e563..1ed8bd4de941 100644
--- a/fs/lockd/svc.c
+++ b/fs/lockd/svc.c
@@ -153,7 +153,7 @@ lockd(struct svc_rqst *rqstp)
*/
while ((nlmsvc_users || !signalled()) && nlmsvc_pid == current->pid) {
long timeout = MAX_SCHEDULE_TIMEOUT;
- char buf[RPC_MAX_ADDRBUFLEN];
+ RPC_IFDEBUG(char buf[RPC_MAX_ADDRBUFLEN]);
if (signalled()) {
flush_signals(current);