Re: don't autoload block drivers on stat (and cgroup configuration)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 23, 2025 at 07:37:38AM +0200, Christoph Hellwig wrote:
> Hi all,
> 
> Christian pointed out that the addition of the block device lookup

Thank you! And sorry I just sent you a mail complaining about this
again. I didn't see this patch series until just now. Thanks for doing
this!

Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>

> from stat can cause the legacy driver autoload to trigger from a plain
> stat, which is a bad idea.
> 
> This series fixes that and also stops autoloading from blk-cgroup
> configuration, which isn't quite as bad but still silly.
> 
> Diffstat:
>  block/bdev.c           |   17 +++++++----------
>  block/blk-cgroup.c     |    2 +-
>  block/blk.h            |    3 +++
>  block/fops.c           |    2 +-
>  include/linux/blkdev.h |    4 ----
>  5 files changed, 12 insertions(+), 16 deletions(-)




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux