[PATCH 1/2] groups: Factor out a function to set a pre-sorted group list

2014-11-15 Thread Josh Triplett
This way, functions that already need to sort the group list need not do so twice. The new set_groups_sorted is intentionally not exported. Signed-off-by: Josh Triplett --- kernel/groups.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/kernel/groups.c

[PATCH 1/2] groups: Factor out a function to set a pre-sorted group list

2014-11-15 Thread Josh Triplett
This way, functions that already need to sort the group list need not do so twice. The new set_groups_sorted is intentionally not exported. Signed-off-by: Josh Triplett j...@joshtriplett.org --- kernel/groups.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git