From 408ec0d2e13188f6f500f7010b5bc5bc5bf5bb9c Mon Sep 17 00:00:00 2001 From: Chunwei Chen Date: Fri, 28 Mar 2014 12:59:36 +0800 Subject: Linux 3.14 compat: posix_acl_{create,chmod} posix_acl_{create,chmod} is changed to __posix_acl_{create_chmod} Signed-off-by: Chunwei Chen Signed-off-by: Richard Yao Signed-off-by: Brian Behlendorf Issue #2124 --- module/zfs/zpl_xattr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') diff --git a/module/zfs/zpl_xattr.c b/module/zfs/zpl_xattr.c index 9334ae7d1..c5c15a2dd 100644 --- a/module/zfs/zpl_xattr.c +++ b/module/zfs/zpl_xattr.c @@ -924,7 +924,7 @@ zpl_init_acl(struct inode *ip, struct inode *dir) } mode = ip->i_mode; - error = posix_acl_create(&acl, GFP_KERNEL, &mode); + error = __posix_acl_create(&acl, GFP_KERNEL, &mode); if (error >= 0) { ip->i_mode = mode; mark_inode_dirty(ip); @@ -954,7 +954,7 @@ zpl_chmod_acl(struct inode *ip) if (IS_ERR(acl) || !acl) return (PTR_ERR(acl)); - error = posix_acl_chmod(&acl, GFP_KERNEL, ip->i_mode); + error = __posix_acl_chmod(&acl, GFP_KERNEL, ip->i_mode); if (!error) error = zpl_set_acl(ip, ACL_TYPE_ACCESS, acl); -- cgit v1.2.3