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

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

 



Hi all,

Christian pointed out that the addition of the block device lookup
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