[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>
This commit is contained in:
parent
3f4b23e983
commit
202dd45024
1 changed files with 3 additions and 2 deletions
|
@ -299,8 +299,9 @@ void svc_reserve(struct svc_rqst *rqstp, int space)
|
||||||
static inline void
|
static inline void
|
||||||
svc_sock_put(struct svc_sock *svsk)
|
svc_sock_put(struct svc_sock *svsk)
|
||||||
{
|
{
|
||||||
if (atomic_dec_and_test(&svsk->sk_inuse) && test_bit(SK_DEAD, &svsk->sk_flags)) {
|
if (atomic_dec_and_test(&svsk->sk_inuse) &&
|
||||||
printk("svc: releasing dead socket\n");
|
test_bit(SK_DEAD, &svsk->sk_flags)) {
|
||||||
|
dprintk("svc: releasing dead socket\n");
|
||||||
if (svsk->sk_sock->file)
|
if (svsk->sk_sock->file)
|
||||||
sockfd_put(svsk->sk_sock);
|
sockfd_put(svsk->sk_sock);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue