Commit 4f517bc1 authored by Stephen Lord's avatar Stephen Lord

Make the permission operation in xfs conditional on ACLs being compiled in

parent 34532010
...@@ -428,6 +428,7 @@ linvfs_follow_link( ...@@ -428,6 +428,7 @@ linvfs_follow_link(
return error; return error;
} }
#ifdef CONFIG_XFS_POSIX_ACL
STATIC int STATIC int
linvfs_permission( linvfs_permission(
struct inode *inode, struct inode *inode,
...@@ -441,6 +442,9 @@ linvfs_permission( ...@@ -441,6 +442,9 @@ linvfs_permission(
VOP_ACCESS(vp, mode, NULL, error); VOP_ACCESS(vp, mode, NULL, error);
return -error; return -error;
} }
#else
#define linvfs_permission NULL
#endif
STATIC int STATIC int
linvfs_getattr( linvfs_getattr(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment