On 2022/2/8 15:16, Sun Ke via Linux-f2fs-devel wrote:
f2fs has set inline_xattr as a default option, and introduced a new option named 'noinline_xattr' for disabling default inline_xattr option. So in _acl_get_max we need to check 'noinline_xattr' string in fs option, otherwise we may select the wrong max acl number since we always found the string 'inline_xattr' in fs option. Additionally, f2fs has changed disk layout of xattr block a bit, so will contain one more entry in both inline and noinline xattr inode, this patch will modify the max acl number to adjust it. Suggested-by: Chao Yu <chao@xxxxxxxxxx> Signed-off-by: Sun Ke <sunke32@xxxxxxxxxx>
Reviewed-by: Chao Yu <chao@xxxxxxxxxx> Thanks,