]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.kabi/abi-fix-add-wb_sync_hold-enum-writeback_sync_modes.patch
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.kabi / abi-fix-add-wb_sync_hold-enum-writeback_sync_modes.patch
CommitLineData
2cb7cef9
BS
1From: Greg Kroah-Hartman <gregkh@suse.de>
2Subject: ABI fix: add WB_SYNC_HOLD enum writeback_sync_modes
3
4This is only to keep the ABI stable for now, this patch
5needs to be removed next chance we get when the ABI changes
6as it's not needed at all.
7
8This is here because 2.6.27.13 removes this enum.
9
10Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
11
12---
13 include/linux/writeback.h | 1 +
14 1 file changed, 1 insertion(+)
15
16--- a/include/linux/writeback.h
17+++ b/include/linux/writeback.h
18@@ -30,6 +30,7 @@ static inline int task_is_pdflush(struct
19 enum writeback_sync_modes {
20 WB_SYNC_NONE, /* Don't wait on anything */
21 WB_SYNC_ALL, /* Wait on every mapping */
22+ WB_SYNC_HOLD, /* DOES NOTHING, DO NOT USE, ONLY HERE FOR ABI issue */
23 };
24
25 /*