fs: rename current get acl method
[sfrench/cifs-2.6.git] / fs / ext4 / ialloc.c
index e9bc46684106b5cb2c3922711f6008584535f882..67a257a69758cb23cc999378987c4f88435c6385 100644 (file)
@@ -870,7 +870,7 @@ static int ext4_xattr_credits_for_new_inode(struct inode *dir, mode_t mode,
        struct super_block *sb = dir->i_sb;
        int nblocks = 0;
 #ifdef CONFIG_EXT4_FS_POSIX_ACL
-       struct posix_acl *p = get_acl(dir, ACL_TYPE_DEFAULT);
+       struct posix_acl *p = get_inode_acl(dir, ACL_TYPE_DEFAULT);
 
        if (IS_ERR(p))
                return PTR_ERR(p);