]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - 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/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.kabi / abi-fix-add-wb_sync_hold-enum-writeback_sync_modes.patch
1 From: Greg Kroah-Hartman <gregkh@suse.de>
2 Subject: ABI fix: add WB_SYNC_HOLD enum writeback_sync_modes
3
4 This is only to keep the ABI stable for now, this patch
5 needs to be removed next chance we get when the ABI changes
6 as it's not needed at all.
7
8 This is here because 2.6.27.13 removes this enum.
9
10 Signed-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 /*