The patch titled mm/truncate.c: fix build for CONFIG_BLOCK not enabled has been added to the -mm tree. Its filename is mm-truncatec-fix-build-for-config_block-not-enabled.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm/truncate.c: fix build for CONFIG_BLOCK not enabled From: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Fix build error when CONFIG_BLOCK is not enabled by providing a stub inode_dio_wait() function. mm/truncate.c:612: error: implicit declaration of function 'inode_dio_wait' Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/fs.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN include/linux/fs.h~mm-truncatec-fix-build-for-config_block-not-enabled include/linux/fs.h --- a/include/linux/fs.h~mm-truncatec-fix-build-for-config_block-not-enabled +++ a/include/linux/fs.h @@ -2418,6 +2418,10 @@ static inline ssize_t blockdev_direct_IO offset, nr_segs, get_block, NULL, NULL, DIO_LOCKING | DIO_SKIP_HOLES); } +#else +static inline void inode_dio_wait(struct inode *inode) +{ +} #endif extern const struct file_operations generic_ro_fops; _ Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are origin.patch linux-next.patch mm-truncatec-fix-build-for-config_block-not-enabled.patch drivers-scsi-megaraidc-fix-sparse-warnings.patch tmpfs-expand-help-to-explain-value-of-tmpfs_posix_acl.patch tmpfs-expand-help-to-explain-value-of-tmpfs_posix_acl-v3.patch um-clean-up-vm-flagsh.patch asm-generic-iomaph-add-stubs-for-pci-iomap-iounmap.patch kernel-configsc-include-module_-when-config_ikconfig_proc=n.patch leds-route-kbd-leds-through-the-generic-leds-layer.patch misc-eeprom-add-driver-for-microwire-93xx46-eeprom-fix.patch ipc-introduce-shm_rmid_forced-sysctl.patch ipc-introduce-shm_rmid_forced-sysctl-fix.patch ipc-introduce-shm_rmid_forced-sysctl-fix-2.patch ipc-introduce-shm_rmid_forced-sysctl-testing.patch init-add-root=partuuid=uuid-partnroff=%d-support.patch documentation-add-pointer-to-name_to_dev_t-for-root=-values.patch mutex-subsystem-synchro-test-module.patch mutex-subsystem-synchro-test-module-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html