userns: Fix build of drivers/staging/dgrp
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 2 Oct 2012 22:37:37 +0000 (15:37 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 3 Oct 2012 16:52:08 +0000 (09:52 -0700)
commit702e490211b2b7e448ebe1b3a07d97ad2fc07e03
treeac90b7219b98a2fcdd1f9f9f95d7b8575706f3f4
parent88265322c14cce39f7afbc416726ef4fac413298
userns: Fix build of drivers/staging/dgrp

Explicitly test for GLOBAL_ROOT_UID and GLOBAL_ROOT_GID
instead of using 0, allowing dgrp to compile and work
properly when user namespace support is enabled.

Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
drivers/staging/dgrp/dgrp_common.c