On Fri, Jun 21, 2019 at 12:57:12PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Currently, uncached buffers in userspace are created with zero refcount > and are fed to cache_node_put when they're released. This is totally > broken -- the refcount should be 1 (because the caller now holds a > reference) and we should never be dumping uncached buffers into the > cache. Fix both of these problems. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>