git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: fix check_acl compile error when CONFIG_FS_POSIX_ACL is not set
[pandora-kernel.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index
ef00b98
..
f8c69d3
100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-176,6
+176,7
@@
EXPORT_SYMBOL(putname);
static int check_acl(struct inode *inode, int mask)
{
+#ifdef CONFIG_FS_POSIX_ACL
struct posix_acl *acl;
/*
@@
-219,6
+220,7
@@
static int check_acl(struct inode *inode, int mask)
posix_acl_release(acl);
return error;
}
+#endif
return -EAGAIN;
}