capabilities: define get_vfs_caps_from_disk when file caps are not enabled
authorEric Paris <eparis@redhat.com>
Thu, 13 Nov 2008 23:37:25 +0000 (18:37 -0500)
committerJames Morris <jmorris@namei.org>
Fri, 14 Nov 2008 21:50:52 +0000 (08:50 +1100)
When CONFIG_SECURITY_FILE_CAPABILITIES is not set the audit system may
try to call into the capabilities function vfs_cap_from_file.  This
patch defines that function so kernels can build and work.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/commoncap.c

Simple merge