capability: export has_capability
authorJike Song <jike.song@intel.com>
Thu, 12 Jan 2017 08:52:02 +0000 (16:52 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 12 Jan 2017 14:01:56 +0000 (07:01 -0700)
commit19c816e8e455f58da9997e4c6626f06203d8fbf0
tree60671d3e96d01a289fe62acca8fe1c3ca1a4bac4
parent73da4268fdbae972f617946d1c690f2136964802
capability: export has_capability

has_capability() is sometimes needed by modules to test capability
for specified task other than current, so export it.

Cc: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Jike Song <jike.song@intel.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
kernel/capability.c