Skip to contentSkip to conversation

: reiser4 [1/8] export fsync_super()

PATCH New Nikita Danilov 1 participant 1 message Oct 31, 2002 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : 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.

fs/buffer.c +1 -0
@@ -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