]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.kabi/abi-fix-add-s_syncing-back-to-struct-super_block.patch
Imported linux-2.6.27.39 suse/xen patches.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.kabi / abi-fix-add-s_syncing-back-to-struct-super_block.patch
CommitLineData
2cb7cef9
BS
1From: Greg Kroah-Hartman <gregkh@suse.de>
2Subject: ABI fix: add s_syncing back to struct super_block
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 field.
9
10Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
11
12---
13 include/linux/fs.h | 4 ++++
14 1 file changed, 4 insertions(+)
15
16--- a/include/linux/fs.h
17+++ b/include/linux/fs.h
18@@ -1085,6 +1085,10 @@ struct super_block {
19 struct rw_semaphore s_umount;
20 struct mutex s_lock;
21 int s_count;
22+ /*******************************************************/
23+ /* DO NOT USE s_syncing only here to keep API "stable" */
24+ /*******************************************************/
25+ int s_syncing;
26 int s_need_sync_fs;
27 atomic_t s_active;
28 #ifdef CONFIG_SECURITY