diff options
-rw-r--r-- | net/ax25/af_ax25.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 8fc64e3150a2..5a4337a29094 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c | |||
@@ -1928,12 +1928,10 @@ static int ax25_info_show(struct seq_file *seq, void *v) | |||
1928 | ax25->paclen); | 1928 | ax25->paclen); |
1929 | 1929 | ||
1930 | if (ax25->sk != NULL) { | 1930 | if (ax25->sk != NULL) { |
1931 | bh_lock_sock(ax25->sk); | 1931 | seq_printf(seq, " %d %d %lu\n", |
1932 | seq_printf(seq," %d %d %ld\n", | ||
1933 | atomic_read(&ax25->sk->sk_wmem_alloc), | 1932 | atomic_read(&ax25->sk->sk_wmem_alloc), |
1934 | atomic_read(&ax25->sk->sk_rmem_alloc), | 1933 | atomic_read(&ax25->sk->sk_rmem_alloc), |
1935 | ax25->sk->sk_socket != NULL ? SOCK_INODE(ax25->sk->sk_socket)->i_ino : 0L); | 1934 | sock_i_ino(ax25->sk)); |
1936 | bh_unlock_sock(ax25->sk); | ||
1937 | } else { | 1935 | } else { |
1938 | seq_puts(seq, " * * *\n"); | 1936 | seq_puts(seq, " * * *\n"); |
1939 | } | 1937 | } |