linux-stable/fs/sysv
Christoph Hellwig 925c86a19b fs: add CONFIG_BUFFER_HEAD
Add a new config option that controls building the buffer_head code, and
select it from all file systems and stacking drivers that need it.

For the block device nodes and alternative iomap based buffered I/O path
is provided when buffer_head support is not enabled, and iomap needs a
a small tweak to define the IOMAP_F_BUFFER_HEAD flag to 0 to not call
into the buffer_head code when it doesn't exist.

Otherwise this is just Kconfig and ifdef changes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20230801172201.1923299-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-08-02 09:13:09 -06:00
..
balloc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dir.c highmem: Rename put_and_unmap_page() to unmap_and_put_page() 2023-06-05 13:51:00 +02:00
file.c splice: Use filemap_splice_read() instead of generic_file_splice_read() 2023-05-24 08:42:17 -06:00
ialloc.c fs: port inode_init_owner() to mnt_idmap 2023-01-19 09:24:28 +01:00
inode.c fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
itree.c fs/sysv: Null check to prevent null-ptr-deref bug 2023-06-01 09:51:06 +02:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c highmem: Rename put_and_unmap_page() to unmap_and_put_page() 2023-06-05 13:51:00 +02:00
super.c fs: sysv: check sbi->s_firstdatazone in complete_read_super 2022-04-29 14:38:04 -07:00
sysv.h sysv: switch to put_and_unmap_page() 2023-03-12 20:03:41 -04:00