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

Vitaly Lipatov <[email protected]> Tue, 14 Nov 2017 19:48:00 +0300
Newsgroups gmane.linux.file-systems,gmane.comp.emulators.wine.patches,gmane.linux.kernel
Organization Etersoft
Message-ID <[email protected]>
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