From ef449bc73ea35130f83d15fba4b497c972f50f70 Mon Sep 17 00:00:00 2001 From: D Brashear Date: Tue, 22 Apr 2014 11:38:44 -0400 Subject: [PATCH] linux: make reading unixusers from proc actually work our indentation did not match our braces so we would never read all the objects in each unixuser hash chain. add the missing braces Reviewed-on: http://gerrit.openafs.org/11094 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: D Brashear (cherry picked from commit 279e01051600f0884ed3669786543578e53cf518) Change-Id: If8d4faf8a9cc301d231c1f7b11ab5bb9ca721451 Reviewed-on: http://gerrit.openafs.org/11093 Tested-by: BuildBot Reviewed-by: Perry Ruiter Reviewed-by: Ken Dreyer Reviewed-by: Nathaniel Filardo Reviewed-by: Stephan Wiesand --- src/afs/LINUX/osi_proc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_proc.c b/src/afs/LINUX/osi_proc.c index 5e3ac5301..0de19a3e8 100644 --- a/src/afs/LINUX/osi_proc.c +++ b/src/afs/LINUX/osi_proc.c @@ -151,9 +151,10 @@ uu_start(struct seq_file *m, loff_t *pos) for (i = 0; i < NUSERS; i++) { for (tu = afs_users[i]; tu; tu = tu->next) { - if (++n == *pos) + if (++n == *pos) { ret = tu; goto done; + } } } -- 2.39.5