linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]: reiser4 [1/8] export fsync_super()
@ 2002-10-31 16:03 Nikita Danilov
  0 siblings, 0 replies; only message in thread
From: Nikita Danilov @ 2002-10-31 16:03 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Mailing List, Reiserfs mail-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-31 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-31 16:03 [PATCH]: reiser4 [1/8] export fsync_super() Nikita Danilov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).