diff options
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r-- | net/sunrpc/svcsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 406b3e687952..c75bffeb89eb 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -104,7 +104,7 @@ static struct lock_class_key svc_slock_key[2]; | |||
104 | static inline void svc_reclassify_socket(struct socket *sock) | 104 | static inline void svc_reclassify_socket(struct socket *sock) |
105 | { | 105 | { |
106 | struct sock *sk = sock->sk; | 106 | struct sock *sk = sock->sk; |
107 | BUG_ON(sk->sk_lock.owner != NULL); | 107 | BUG_ON(sock_owned_by_user(sk)); |
108 | switch (sk->sk_family) { | 108 | switch (sk->sk_family) { |
109 | case AF_INET: | 109 | case AF_INET: |
110 | sock_lock_init_class_and_name(sk, "slock-AF_INET-NFSD", | 110 | sock_lock_init_class_and_name(sk, "slock-AF_INET-NFSD", |