mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 03:43:03 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6: jfs: flush journal completely before releasing metadata inodes
This commit is contained in:
commit
a0b3447fb1
|
@ -68,7 +68,7 @@ int jfs_umount(struct super_block *sb)
|
||||||
/*
|
/*
|
||||||
* Wait for outstanding transactions to be written to log:
|
* Wait for outstanding transactions to be written to log:
|
||||||
*/
|
*/
|
||||||
jfs_flush_journal(log, 1);
|
jfs_flush_journal(log, 2);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* close fileset inode allocation map (aka fileset inode)
|
* close fileset inode allocation map (aka fileset inode)
|
||||||
|
@ -146,7 +146,7 @@ int jfs_umount_rw(struct super_block *sb)
|
||||||
*
|
*
|
||||||
* remove file system from log active file system list.
|
* remove file system from log active file system list.
|
||||||
*/
|
*/
|
||||||
jfs_flush_journal(log, 1);
|
jfs_flush_journal(log, 2);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Make sure all metadata makes it to disk
|
* Make sure all metadata makes it to disk
|
||||||
|
|
Loading…
Reference in a new issue