linux-mainline/fs
Li Zetao a24c8b5111 fs/Kconfig: Fix compile error for romfs
There are some compile errors reported by kernel test robot:

arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_read':
storage.c:(.text+0x64): undefined reference to `__brelse'
arm-linux-gnueabi-ld: storage.c:(.text+0x9c): undefined reference to `__bread_gfp'
arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_strnlen':
storage.c:(.text+0x128): undefined reference to `__brelse'
arm-linux-gnueabi-ld: storage.c:(.text+0x16c): undefined reference to `__bread_gfp'
arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_strcmp':
storage.c:(.text+0x22c): undefined reference to `__bread_gfp'
arm-linux-gnueabi-ld: storage.c:(.text+0x27c): undefined reference to `__brelse'
arm-linux-gnueabi-ld: storage.c:(.text+0x2a8): undefined reference to `__bread_gfp'
arm-linux-gnueabi-ld: storage.c:(.text+0x2bc): undefined reference to `__brelse'
arm-linux-gnueabi-ld: storage.c:(.text+0x2d4): undefined reference to `__brelse'
arm-linux-gnueabi-ld: storage.c:(.text+0x2f4): undefined reference to `__brelse'
arm-linux-gnueabi-ld: storage.c:(.text+0x304): undefined reference to `__brelse'

The reason for the problem is that the commit
"925c86a19bac" ("fs: add CONFIG_BUFFER_HEAD") has added a new config
"CONFIG_BUFFER_HEAD" that controls building the buffer_head code, and
romfs needs to use the buffer_head API, but no corresponding config has
beed added. Select the config "CONFIG_BUFFER_HEAD" in romfs Kconfig to
resolve the problem.

Fixes: 925c86a19b ("fs: add CONFIG_BUFFER_HEAD")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308031810.pQzGmR1v-lkp@intel.com/
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Tested-by: Li Zetao <lizetao1@huawei.com>
Signed-off-by: Li Zetao <lizetao1@huawei.com>
[axboe: fold in Christoph's incremental]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-08-04 11:04:05 -06:00
..
9p
adfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
affs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
afs afs: Fix accidental truncation when storing data 2023-07-04 12:24:32 -07:00
autofs autofs: set ctime as well when mtime changes on a dir 2023-06-15 09:22:24 +02:00
befs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
bfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
btrfs - Yosry Ahmed brought back some cgroup v1 stats in OOM logs. 2023-06-28 10:28:11 -07:00
cachefiles v6.5/vfs.file 2023-06-26 10:14:36 -07:00
ceph A bunch of CephFS fixups from Xiubo, mostly around dropping caps, along 2023-07-07 15:07:20 -07:00
coda
configfs
cramfs
crypto
debugfs
devpts
dlm dlm for 6.5 2023-06-29 13:27:50 -07:00
ecryptfs
efivarfs
efs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
erofs erofs: fix fsdax unavailability for chunk-based regular files 2023-07-12 00:50:56 +08:00
exfat fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
exportfs
ext2 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
ext4 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
f2fs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
fat fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
freevxfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
fscache
fuse libnvdimm for 6.5 2023-07-01 08:48:02 -07:00
gfs2 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
hfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
hfsplus fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
hostfs Landlock updates for v6.5-rc1 2023-06-27 17:10:27 -07:00
hpfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
hugetlbfs hugetlb: revert use of page_cache_next_miss() 2023-06-23 16:59:32 -07:00
iomap fs: rename and move block_page_mkwrite_return 2023-08-02 09:13:09 -06:00
isofs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
jbd2 Various cleanups and bug fixes in ext4's extent status tree, 2023-06-29 13:18:36 -07:00
jffs2 for-6.5/splice-2023-06-23 2023-06-26 11:52:12 -07:00
jfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
kernfs driver core changes for 6.5-rc1 2023-07-03 12:56:23 -07:00
lockd NFS client updates for Linux 6.5 2023-07-01 14:38:25 -07:00
minix fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
netfs
nfs NFS client updates for Linux 6.5 2023-07-01 14:38:25 -07:00
nfs_common
nfsd nfsd-6.5 fixes: 2023-06-30 21:48:44 -07:00
nilfs2 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
nls
notify fanotify: disallow mount/sb marks on kernel internal pseudo fs 2023-07-04 13:29:29 +02:00
ntfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
ntfs3 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
ocfs2 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
omfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
openpromfs
orangefs
overlayfs ovl: move all parameter handling into params.{c,h} 2023-07-03 16:08:17 +03:00
proc asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
pstore pstore updates for v6.5-rc1 2023-06-27 21:21:32 -07:00
qnx4 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
qnx6 fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
quota
ramfs - Yosry Ahmed brought back some cgroup v1 stats in OOM logs. 2023-06-28 10:28:11 -07:00
reiserfs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
romfs fs/Kconfig: Fix compile error for romfs 2023-08-04 11:04:05 -06:00
smb cifs: fix mid leak during reconnection after timeout threshold 2023-07-14 11:25:08 -05:00
squashfs squashfs: fix cache race with migration 2023-07-08 09:29:30 -07:00
sysfs sysfs: Skip empty folders creation 2023-06-15 13:37:53 +02:00
sysv fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
tracefs
ubifs
udf fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
ufs fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
unicode
vboxsf hardening updates for v6.5-rc1 2023-06-27 21:24:18 -07:00
verity fsverity: improve documentation for builtin signature support 2023-06-20 22:47:55 -07:00
xfs Minor cleanups for 6.5: 2023-07-09 09:50:42 -07:00
zonefs - Yosry Ahmed brought back some cgroup v1 stats in OOM logs. 2023-06-28 10:28:11 -07:00
aio.c fs/aio: Stop allocating aio rings from HIGHMEM 2023-06-15 09:22:23 +02:00
anon_inodes.c
attr.c
bad_inode.c
binfmt_elf_fdpic.c
binfmt_elf_test.c
binfmt_elf.c Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
buffer.c fs: remove emergency_thaw_bdev 2023-08-02 09:13:09 -06:00
char_dev.c
compat_binfmt_elf.c
coredump.c v6.5/vfs.misc 2023-06-26 09:50:21 -07:00
d_path.c
dax.c dax: enable dax fault handler to report VM_FAULT_HWPOISON 2023-06-26 07:54:23 -06:00
dcache.c
direct-io.c - Yosry Ahmed brought back some cgroup v1 stats in OOM logs. 2023-06-28 10:28:11 -07:00
drop_caches.c
eventfd.c eventfd: show the EFD_SEMAPHORE flag in fdinfo 2023-06-15 09:22:23 +02:00
eventpoll.c v6.5/vfs.misc 2023-06-26 09:50:21 -07:00
exec.c \n 2023-06-29 13:31:44 -07:00
fcntl.c
fhandle.c fsnotify: move fsnotify_open() hook into do_dentry_open() 2023-06-12 10:43:45 +02:00
file_table.c fs: move cleanup from init_file() into its callers 2023-07-02 13:15:49 +02:00
file.c
filesystems.c
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fs-writeback.c
fsopen.c
init.c
inode.c fs: don't assume arguments are non-NULL 2023-07-04 10:21:11 +02:00
internal.h fs: remove emergency_thaw_bdev 2023-08-02 09:13:09 -06:00
ioctl.c
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Kconfig.binfmt
kernel_read_file.c
libfs.c fs: factor out a direct_write_fallback helper 2023-06-09 16:25:53 -07:00
locks.c
Makefile fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
mbcache.c
mnt_idmapping.c
mount.h
mpage.c
namei.c fs: no need to check source 2023-07-04 10:20:29 +02:00
namespace.c v6.5/vfs.mount 2023-06-26 10:27:04 -07:00
nsfs.c
open.c \n 2023-06-29 13:31:44 -07:00
pipe.c
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c readdir: Replace one-element arrays with flexible-array members 2023-06-21 09:06:59 +02:00
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
stack.c
stat.c
statfs.c
super.c fs: remove emergency_thaw_bdev 2023-08-02 09:13:09 -06:00
sync.c
sysctls.c
timerfd.c
userfaultfd.c Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes. 2023-06-23 16:58:19 -07:00
utimes.c
xattr.c