Re: [PATCH v5 5/7] blktrace: fix debugfs use after free
From: Greg KH
Date: Tue May 19 2020 - 12:54:27 EST
On Tue, May 19, 2020 at 09:37:13AM -0700, Christoph Hellwig wrote:
> I don't think we need any of that symlink stuff. Even if we want it
> (which I don't), it should not be in a bug fix patch.
I agree, why are the symlinks even needed? This is debugfs, the
files/contents there can change whenever they want to, no userspace code
should depend on this stuff...
> In fact to fix the blktrace race I think we only need something like
> this fairly trivial patch (completely untested so far) below.
>
> (and with that we can also drop the previous patch, as blk-debugfs.c
> becomes rather pointless)
Patch looks much more sane than Luis's one.
thanks,
greg k-h