]> git.baikalelectronics.ru Git - kernel.git/commit
remove the call to ->write_super in __sync_filesystem
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2009 08:08:54 +0000 (10:08 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:17 +0000 (21:36 -0400)
commite411e0208a395b93e4e79a5f32db2dca3f88443a
tree2d0899f7aa04acc0679a760e6710c8605745ac92
parent4e8120ca4a90ae5e68f34be2d241bf1ad0a87f98
remove the call to ->write_super in __sync_filesystem

Now that all filesystems provide ->sync_fs methods we can change
__sync_filesystem to only call ->sync_fs.

This gives us a clear separation between periodic writeouts which
are driven by ->write_super and data integrity syncs that go
through ->sync_fs. (modulo file_fsync which is also going away)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/sync.c