NFSD_A_VERSION_MAX
struct nlattr *tb[NFSD_A_VERSION_MAX + 1];
if (nla_parse_nested(tb, NFSD_A_VERSION_MAX, attr,