1
linux/fs/affs
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
..
affs.h switch affs to ->evict_inode() 2010-08-09 16:48:06 -04:00
amigaffs.c affs: fix missing unlocks in affs_remove_link 2009-03-27 14:43:56 -04:00
bitmap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
Changes
dir.c sanitize ->fsync() for affs 2009-06-11 21:36:14 -04:00
file.c get rid of cont_write_begin_newtrunc 2010-08-09 16:47:31 -04:00
inode.c switch affs to ->evict_inode() 2010-08-09 16:48:06 -04:00
Kconfig fs/Kconfig: move affs out 2009-01-22 13:15:56 +03:00
Makefile
namei.c fs/affs: use ERR_CAST 2010-05-27 09:12:53 -07:00
super.c AFFS: wait for sb synchronization when needed 2010-08-09 16:48:51 -04:00
symlink.c Fix remount races with symlink handling in affs 2010-01-26 22:22:24 -05:00