Commit 0dca4462 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: move fs/block_dev.c to block/bdev.c



Move it together with the rest of the block layer.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210907141303.1371844-3-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent cd82cca7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -315,6 +315,9 @@ Block Devices
.. kernel-doc:: block/genhd.c
   :export:

.. kernel-doc:: block/bdev.c
   :export:

Char devices
============

+0 −3
Original line number Diff line number Diff line
@@ -71,9 +71,6 @@ Other Functions
.. kernel-doc:: fs/fs-writeback.c
   :export:

.. kernel-doc:: fs/block_dev.c
   :export:

.. kernel-doc:: fs/anon_inodes.c
   :export:

+0 −1
Original line number Diff line number Diff line
@@ -3300,7 +3300,6 @@ S: Maintained
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
F:	block/
F:	drivers/block/
F:	fs/block_dev.c
F:	include/linux/blk*
F:	kernel/trace/blktrace.c
F:	lib/sbitmap.c
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
# Makefile for the kernel block layer
#

obj-$(CONFIG_BLOCK) := fops.o bio.o elevator.o blk-core.o blk-sysfs.o \
obj-$(CONFIG_BLOCK) := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \
			blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
			blk-exec.o blk-merge.o blk-timeout.o \
			blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \
+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
#include <linux/cleancache.h>
#include <linux/part_stat.h>
#include <linux/uaccess.h>
#include "internal.h"
#include "../block/blk.h"
#include "../fs/internal.h"
#include "blk.h"

struct bdev_inode {
	struct block_device bdev;
Loading