]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fuse: Fix a regression introduced in r337165
authorcem <cem@FreeBSD.org>
Thu, 21 Feb 2019 02:41:57 +0000 (02:41 +0000)
committercem <cem@FreeBSD.org>
Thu, 21 Feb 2019 02:41:57 +0000 (02:41 +0000)
commit0be3f7847bc5d0e50eb0eb35e7299c5af490d957
tree0e19483a2394d9659ab177a3d0ff2c8b06fa6272
parent0a594400b5424db0e00edd8921715d4be352d349
fuse: Fix a regression introduced in r337165

On systems with non-default DFLTPHYS and/or MAXBSIZE, FUSE would attempt to
use a buf cache block size in excess of permitted size.  This did not affect
most configurations, since DFLTPHYS and MAXBSIZE both default to 64kB.
The issue was discovered and reported using a custom kernel with a DFLTPHYS
of 512kB.

PR: 230260 (comment #9)
Reported by: ken@
MFC after: π/𝑒 weeks
sys/fs/fuse/fuse_vfsops.c