1. 18 Aug, 2023 6 commits
  2. 16 Aug, 2023 1 commit
  3. 15 Aug, 2023 13 commits
  4. 14 Aug, 2023 3 commits
  5. 11 Aug, 2023 1 commit
  6. 10 Aug, 2023 4 commits
  7. 09 Aug, 2023 4 commits
  8. 08 Aug, 2023 7 commits
  9. 04 Aug, 2023 1 commit
    • Li Zetao's avatar
      fs/Kconfig: Fix compile error for romfs · a24c8b51
      Li Zetao authored
      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
      "925c86a1" ("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: 925c86a1 ("fs: add CONFIG_BUFFER_HEAD")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202308031810.pQzGmR1v-lkp@intel.com/Reviewed-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
      Tested-by: default avatarLi Zetao <lizetao1@huawei.com>
      Signed-off-by: default avatarLi Zetao <lizetao1@huawei.com>
      [axboe: fold in Christoph's incremental]
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      a24c8b51