binderfs: handle !CONFIG_IPC_NS builds
authorChristian Brauner <christian@brauner.io>
Sat, 12 Jan 2019 00:06:03 +0000 (01:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jan 2019 08:06:48 +0000 (09:06 +0100)
commit7fefaadd6a962987baac50e7b3c4c3d5ef9b55c6
treedfce04c23ecef8d47b6285b4945c7adc2b5c5ec3
parent411aba3c128fb4fd68b03e12a7ec6e7350d3b101
binderfs: handle !CONFIG_IPC_NS builds

kbuild reported a build faile in [1]. This is triggered when CONFIG_IPC_NS
is not set. So let's make the use of init_ipc_ns conditional on
CONFIG_IPC_NS being set.

[1]: https://lists.01.org/pipermail/kbuild-all/2019-January/056903.html

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binderfs.c