* + mm-truncatec-fix-build-for-config_block-not-enabled.patch added to -mm tree
@ 2011-07-21 21:01 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2011-07-21 21:01 UTC (permalink / raw)
To: mm-commits; +Cc: rdunlap
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@xenotime.net>
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@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@xenotime.net 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-21 21:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21 21:01 + mm-truncatec-fix-build-for-config_block-not-enabled.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.