]> err.no Git - linux-2.6/blobdiff - net/sunrpc/svcsock.c
[NET]: Remove obsolete comment
[linux-2.6] / net / sunrpc / svcsock.c
index 406b3e6879525c353223aa41ec9c9cba511853bf..c75bffeb89eb705831585ba1447c0ba77dd06a9c 100644 (file)
@@ -104,7 +104,7 @@ static struct lock_class_key svc_slock_key[2];
 static inline void svc_reclassify_socket(struct socket *sock)
 {
        struct sock *sk = sock->sk;
-       BUG_ON(sk->sk_lock.owner != NULL);
+       BUG_ON(sock_owned_by_user(sk));
        switch (sk->sk_family) {
        case AF_INET:
                sock_lock_init_class_and_name(sk, "slock-AF_INET-NFSD",