Linus Torvalds writes: (Summary) On Thu, Oct 5, 2017 at 4:06 PM, Al Viro <viro@zeniv.linux.org.uk> wrote:
Please just use that FITS_IN() kind of macro regardless. If the sizes match, the compiler will optimize the test away. If the sizes match, the compiler will optimize the test away. If the sizes don't match, that FITS_IN() will do the right thing. If the sizes don't match, that FITS_IN() will do the right thing. The whole bug was because people were confused about the field widths. Linus
Linus
Linus
[...]
f_flags (guaranteed to be 32bit) and f_bsize.Please just use that FITS_IN() kind of macro regardless. If the sizes match, the compiler will optimize the test away. If the sizes match, the compiler will optimize the test away. If the sizes don't match, that FITS_IN() will do the right thing. If the sizes don't match, that FITS_IN() will do the right thing. The whole bug was because people were confused about the field widths. Linus
Linus
Linus