I would like send v3 with fix the typo you told me. As for me, it is more clean than two functions.break;
- err = fixup_compat_flock(&flock);
+ err = fixup_compat_flock(&flock, COMPAT_OFF_T_MAX);
I think you want COMPAT_LOFF_T_MAX here? In any case, I'm fine with the
first version, and just renaming the function. I'll plan to push that
one unless you have a reason that we should do it this way.