Artem Bityutskiy 7435d50611 AFFS: wait for sb synchronization when needed
AFFS does not ever wait for superblock synchronization in
->put_super(), ->write_super, and ->sync_fs().

However, it should wait for synchronization in ->put_super() because
it is about to be unmounted, in ->write_super() because this is
periodic SB synchronization performed from a separate kernel thread,
and in ->sync_fs() it should respect the 'wait' flag. This patch fixes
the situation.

Also, in ->put_super(), do not write the SB if it is not dirty.

Tested-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-08-09 16:48:51 -04:00
..
2010-05-27 09:12:41 -07:00
2010-08-09 16:48:48 -04:00
2010-08-09 16:47:51 -04:00
2010-05-19 22:41:57 -04:00
2010-04-30 14:52:51 -05:00
2010-08-09 16:48:42 -04:00
2010-08-09 16:48:24 -04:00
2010-08-09 16:48:45 -04:00
2010-08-09 16:48:45 -04:00
2010-08-09 16:48:45 -04:00
2010-08-09 16:48:01 -04:00
2010-08-09 16:48:17 -04:00
2010-08-09 16:48:16 -04:00
2010-08-09 16:47:49 -04:00
2010-08-09 16:48:17 -04:00
2010-08-09 16:48:20 -04:00
2010-08-09 16:48:42 -04:00
2010-08-09 16:48:25 -04:00
2010-08-09 16:48:05 -04:00
2010-08-09 16:47:52 -04:00
2010-08-09 16:47:31 -04:00
2010-08-09 16:48:00 -04:00
2010-08-09 16:47:53 -04:00
2010-08-09 16:47:59 -04:00
2010-08-09 16:48:18 -04:00
2010-08-09 16:48:19 -04:00
2010-08-09 16:48:02 -04:00
2010-08-09 16:47:33 -04:00
2010-08-09 16:48:42 -04:00
2010-08-09 16:48:13 -04:00
2010-05-11 17:43:58 +02:00
2010-05-21 18:31:16 -04:00
2010-05-21 18:31:17 -04:00
2010-05-18 08:57:00 +10:00
2010-05-21 18:31:17 -04:00
2010-06-10 19:08:34 +02:00
2010-05-27 09:12:56 -07:00
2010-08-09 16:48:44 -04:00
2010-06-29 10:38:22 -07:00
2010-08-09 16:47:43 -04:00