Skip to content

Commit a0b3447

Browse files
committed
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
2 parents 4cb5aa1 + 1c8007b commit a0b3447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/jfs/jfs_umount.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int jfs_umount(struct super_block *sb)
6868
/*
6969
* Wait for outstanding transactions to be written to log:
7070
*/
71-
jfs_flush_journal(log, 1);
71+
jfs_flush_journal(log, 2);
7272

7373
/*
7474
* close fileset inode allocation map (aka fileset inode)
@@ -146,7 +146,7 @@ int jfs_umount_rw(struct super_block *sb)
146146
*
147147
* remove file system from log active file system list.
148148
*/
149-
jfs_flush_journal(log, 1);
149+
jfs_flush_journal(log, 2);
150150

151151
/*
152152
* Make sure all metadata makes it to disk

0 commit comments

Comments
 (0)