- superblock need MS_POSIXACL flag
- check_acl() should return -EAGAIN in case of no ACL present or not
support ACL, to allow fall back triditional UGO checking.
RETURN(rc);
#else
- return 0;
+ return -EAGAIN;
#endif
}
sbi->ll_flags &= ~LL_SBI_USER_XATTR;
}
- if (data->ocd_connect_flags & OBD_CONNECT_ACL)
+ if (data->ocd_connect_flags & OBD_CONNECT_ACL) {
+#ifdef MS_POSIXACL
+ sb->s_flags |= MS_POSIXACL;
+#endif
sbi->ll_flags |= LL_SBI_ACL;
- else
+ } else
sbi->ll_flags &= ~LL_SBI_ACL;
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0))