diff options
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 63a9239571a4..eea75888805e 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -2033,6 +2033,7 @@ static struct sock *unix_seq_idx(struct unix_iter_state *iter, loff_t pos) | |||
2033 | 2033 | ||
2034 | 2034 | ||
2035 | static void *unix_seq_start(struct seq_file *seq, loff_t *pos) | 2035 | static void *unix_seq_start(struct seq_file *seq, loff_t *pos) |
2036 | __acquires(unix_table_lock) | ||
2036 | { | 2037 | { |
2037 | struct unix_iter_state *iter = seq->private; | 2038 | struct unix_iter_state *iter = seq->private; |
2038 | spin_lock(&unix_table_lock); | 2039 | spin_lock(&unix_table_lock); |
@@ -2055,6 +2056,7 @@ static void *unix_seq_next(struct seq_file *seq, void *v, loff_t *pos) | |||
2055 | } | 2056 | } |
2056 | 2057 | ||
2057 | static void unix_seq_stop(struct seq_file *seq, void *v) | 2058 | static void unix_seq_stop(struct seq_file *seq, void *v) |
2059 | __releases(unix_table_lock) | ||
2058 | { | 2060 | { |
2059 | spin_unlock(&unix_table_lock); | 2061 | spin_unlock(&unix_table_lock); |
2060 | } | 2062 | } |