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(
return error;
}
#ifdef CONFIG_XFS_POSIX_ACL
STATIC int
linvfs_permission(
struct inode *inode,
......@@ -441,6 +442,9 @@ linvfs_permission(
VOP_ACCESS(vp, mode, NULL, error);
return -error;
}
#else
#define linvfs_permission NULL
#endif
STATIC int
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