driver core: handle user namespaces properly with the uid/gid devtmpfs change
commit4e4098a3e08783cfd75f9fcdab276dc1d46931da
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 18:43:29 +0000 (11 11:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 18:43:29 +0000 (11 11:43 -0700)
treed0befddb4d6f999a443ef60ae8af327bed046fd5
parentd81c8d19da8fb6514c75d5c19334f4236856c561
driver core: handle user namespaces properly with the uid/gid devtmpfs change

Now that devtmpfs is caring about uid/gid, we need to use the correct
internal types so users who have USER_NS enabled will have things work
properly for them.

Thanks to Eric for pointing this out, and the patch review.

Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Kay Sievers <kay@vrfy.org>
Cc: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/genhd.c
drivers/base/core.c
drivers/base/devtmpfs.c
drivers/usb/core/usb.c
include/linux/device.h