]> err.no Git - linux-2.6/commit
knfsd: demote some printk()s to dprintk()s
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 27 Jul 2007 20:10:37 +0000 (16:10 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:31:56 +0000 (18:31 -0400)
commit2fdada03b3876ab9f84ede160f187e888cafefb4
tree4fb687764c83d63083261f079695627003c22dd9
parent599e0a2290b22d959c7748bda83da3614187a299
knfsd: demote some printk()s to dprintk()s

To quote a recent mail from Andrew Morton:

Look: if there's a way in which an unprivileged user can trigger
a printk we fix it, end of story.

OK.  I assume that goes double for printk()s that might be triggered by
random hosts on the internet.  So, disable some printk()s that look like
they could be triggered by malfunctioning or malicious clients.  For
now, just downgrade them to dprintk()s.

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Acked-by: Neil Brown <neilb@suse.de>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c