Merge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs blocksize updates from Al Viro: "This gets rid of bogus set_blocksize() uses, switches it over to be based on a 'struct file *' and verifies that the caller has the device opened exclusively" * tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: make set_blocksize() fail unless block device is opened exclusive set_blocksize(): switch to passing struct file * btrfs_get_bdev_and_sb(): call set_blocksize() only for exclusive opens swsusp: don't bother with setting block size zram: don't bother with reopening - just use O_EXCL for open swapon(2): open swap with O_EXCL swapon(2)/swapoff(2): don't bother with block size pktcdvd: sort set_blocksize() calls out bcache_register(): don't bother with set_blocksize()
No related branches found
No related tags found
Showing
- Documentation/filesystems/porting.rst 7 additions, 0 deletionsDocumentation/filesystems/porting.rst
- block/bdev.c 10 additions, 4 deletionsblock/bdev.c
- block/ioctl.c 12 additions, 9 deletionsblock/ioctl.c
- drivers/block/pktcdvd.c 1 addition, 6 deletionsdrivers/block/pktcdvd.c
- drivers/block/zram/zram_drv.c 7 additions, 22 deletionsdrivers/block/zram/zram_drv.c
- drivers/block/zram/zram_drv.h 1 addition, 1 deletiondrivers/block/zram/zram_drv.h
- drivers/md/bcache/super.c 0 additions, 4 deletionsdrivers/md/bcache/super.c
- fs/btrfs/dev-replace.c 1 addition, 1 deletionfs/btrfs/dev-replace.c
- fs/btrfs/volumes.c 8 additions, 5 deletionsfs/btrfs/volumes.c
- fs/ext4/super.c 1 addition, 1 deletionfs/ext4/super.c
- fs/reiserfs/journal.c 2 additions, 3 deletionsfs/reiserfs/journal.c
- fs/xfs/xfs_buf.c 1 addition, 1 deletionfs/xfs/xfs_buf.c
- include/linux/blkdev.h 1 addition, 1 deletioninclude/linux/blkdev.h
- include/linux/swap.h 0 additions, 2 deletionsinclude/linux/swap.h
- kernel/power/swap.c 1 addition, 6 deletionskernel/power/swap.c
- mm/swapfile.c 2 additions, 27 deletionsmm/swapfile.c
Loading
Please register or sign in to comment