2002-10-31 16:05:48

by Nikita Danilov

[permalink] [raw]
Subject: [PATCH]: reiser4 [1/8] export fsync_super()

Hello, Linus,

Following patch exports fsync_super() function. fsync_super() is
required for reiser4, because during umount we want to perform some
tasks after ->writepage has been called on all pages dirtied through
mmap (that is, after fsync_super()), but before inodes
destruction. As a result, reiser4 cannot use kill_block_super() and
has to call fsync_super() explicitly.

Please apply.
Nikita.
--- linus-bk-2.5/fs/buffer.c Thu Oct 17 03:01:42 2002
+++ linux-2.5-reiser4/fs/buffer.c Mon Oct 21 13:43:49 2002
@@ -224,6 +224,7 @@ int fsync_super(struct super_block *sb)

return sync_blockdev(sb->s_bdev);
}
+EXPORT_SYMBOL(fsync_super);

/*
* Write out and wait upon all dirty data associated with this