Re: [PATCH v2] fs/fcntl: restore checking against COMPAT_LOFF_T_MAX for F_GETLK64

From: Vitaly Lipatov
Date: Tue Nov 14 2017 - 11:48:21 EST


Jeff Layton ÐÐÑÐÐ 14.11.17 17:06:
...
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.
I would like send v3 with fix the typo you told me. As for me, it is more clean than two functions.
Was I wrong with MessageId last time or it is ok to have a new thread for every patch version?


--
Ð ÑÐÐÐÐÐÐÐÐ,
ÐÐÑÐÐÐÐ ÐÐÐÐÑÐÐ,
Etersoft