aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2009-01-06 17:40:26 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-06 18:59:09 -0500
commit856bf4d717feb8c55d4e2f817b71ebb70cfbc67b (patch)
treef44790d9b8f42223955d1866645103ac5f9c68a3 /include/linux
parent38f21977663126fef53f5585e7f1653d8ebe55c4 (diff)
fs: sys_sync fix
s_syncing livelock avoidance was breaking data integrity guarantee of sys_sync, by allowing sys_sync to skip writing or waiting for superblocks if there is a concurrent sys_sync happening. This livelock avoidance is much less important now that we don't have the get_super_to_sync() call after every sb that we sync. This was replaced by __put_super_and_need_restart. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index fb59673c60b1..d7eba77f666e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1133,7 +1133,6 @@ struct super_block {
1133 struct rw_semaphore s_umount; 1133 struct rw_semaphore s_umount;
1134 struct mutex s_lock; 1134 struct mutex s_lock;
1135 int s_count; 1135 int s_count;
1136 int s_syncing;
1137 int s_need_sync_fs; 1136 int s_need_sync_fs;
1138 atomic_t s_active; 1137 atomic_t s_active;
1139#ifdef CONFIG_SECURITY 1138#ifdef CONFIG_SECURITY