Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] fix "sunrpc: fix refcounting problems in rpc servers"

- printk should remain dprintk

- fix coding-style.

Cc: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
202dd450 3f4b23e9

+3 -2
+3 -2
net/sunrpc/svcsock.c
··· 299 299 static inline void 300 300 svc_sock_put(struct svc_sock *svsk) 301 301 { 302 - if (atomic_dec_and_test(&svsk->sk_inuse) && test_bit(SK_DEAD, &svsk->sk_flags)) { 303 - printk("svc: releasing dead socket\n"); 302 + if (atomic_dec_and_test(&svsk->sk_inuse) && 303 + test_bit(SK_DEAD, &svsk->sk_flags)) { 304 + dprintk("svc: releasing dead socket\n"); 304 305 if (svsk->sk_sock->file) 305 306 sockfd_put(svsk->sk_sock); 306 307 else