We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfcc005 commit b904935Copy full SHA for b904935
fs/afs/proc.c
@@ -166,7 +166,7 @@ static int afs_proc_addr_prefs_show(struct seq_file *m, void *v)
166
167
if (!preflist) {
168
seq_puts(m, "NO PREFS\n");
169
- return 0;
+ goto out;
170
}
171
172
seq_printf(m, "PROT SUBNET PRIOR (v=%u n=%u/%u/%u)\n",
@@ -191,7 +191,8 @@ static int afs_proc_addr_prefs_show(struct seq_file *m, void *v)
191
192
193
194
- rcu_read_lock();
+out:
195
+ rcu_read_unlock();
196
return 0;
197
198
0 commit comments