Re: [PATCH] sg, bsg: mitigate read/write abuse, block uaccess in release

From: Christoph Hellwig
Date: Thu Jun 21 2018 - 08:35:03 EST


On Mon, Jun 18, 2018 at 09:37:01AM -0600, Jens Axboe wrote:
> It was born with that mode, but I don't think anyone ever really used it.
> So it might feasible to simply yank it. That said, just doing a prune
> mode at ->release() time doesn't seem like such a hard task.

Let's try to kill it. It is a significant amount of code, which does
fishy things and is probably entirely unused:

---