Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH] vfs: fix statfs64() returning impossible EOVERFLOW for ...

$
0
0
Linus Torvalds writes: (Summary) On Thu, Oct 5, 2017 at 4:06 PM, Al Viro <viro@zeniv.linux.org.uk> wrote:

[...]

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

Viewing all articles
Browse latest Browse all 1267

Trending Articles