projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: push sync_filesystem() down to the file system's remount_fs()
[linux-2.6-block.git]
/
fs
/
romfs
/
super.c
diff --git
a/fs/romfs/super.c
b/fs/romfs/super.c
index d8418782862b60fe2b96b4bd131281417c2adc24..ef90e8bca95ac77e6808a300eb053d36911db523 100644
(file)
--- a/
fs/romfs/super.c
+++ b/
fs/romfs/super.c
@@
-432,6
+432,7
@@
static int romfs_statfs(struct dentry *dentry, struct kstatfs *buf)
*/
static int romfs_remount(struct super_block *sb, int *flags, char *data)
{
+ sync_filesystem(sb);
*flags |= MS_RDONLY;
return 0;
}