[PATCH 1/2] overlayfs: export security_inode_permission to allow overlayfs to be modular

From: Andy Whitcroft
Date: Fri Oct 01 2010 - 13:48:25 EST


When compiling overlayfs as a module we end up with an unknown symbol
'security_inode_permission'. Export it.

Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxxx>
---
security/security.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/security/security.c b/security/security.c
index ca39940..b8329cc 100644
--- a/security/security.c
+++ b/security/security.c
@@ -556,6 +556,7 @@ int security_inode_permission(struct inode *inode, int mask)
return 0;
return security_ops->inode_permission(inode, mask);
}
+EXPORT_SYMBOL_GPL(security_inode_permission);

int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
{
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/