fcntl: rename F_OWNER_GID to F_OWNER_PGRP

This is for consistency with various ioctl() operations that include the
suffix "PGRP" in their names, and also for consistency with PRIO_PGRP,
used with setpriority() and getpriority(). Also, using PGRP instead of
GID avoids confusion with the common abbreviation of "group ID".

I'm fine with anything that makes it more consistent, and if PGRP is what
is the predominant abbreviation then I see no need to further confuse
matters by adding a third one.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Peter Zijlstra and committed by Linus Torvalds 978b4053 9ebd4eba

+3 -3
+2 -2
fs/fcntl.c
··· 284 284 type = PIDTYPE_PID; 285 285 break; 286 286 287 - case F_OWNER_GID: 287 + case F_OWNER_PGRP: 288 288 type = PIDTYPE_PGID; 289 289 break; 290 290 ··· 321 321 break; 322 322 323 323 case PIDTYPE_PGID: 324 - owner.type = F_OWNER_GID; 324 + owner.type = F_OWNER_PGRP; 325 325 break; 326 326 327 327 default:
+1 -1
include/asm-generic/fcntl.h
··· 89 89 90 90 #define F_OWNER_TID 0 91 91 #define F_OWNER_PID 1 92 - #define F_OWNER_GID 2 92 + #define F_OWNER_PGRP 2 93 93 94 94 struct f_owner_ex { 95 95 int type;