Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/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
  • Loading branch information
Linus Torvalds committed Aug 15, 2011
2 parents 4cb5aa1 + 1c8007b commit a0b3447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/jfs/jfs_umount.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int jfs_umount(struct super_block *sb)
/*
* 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)
Expand Down Expand Up @@ -146,7 +146,7 @@ int jfs_umount_rw(struct super_block *sb)
*
* 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
Expand Down

0 comments on commit a0b3447

Please sign in to comment.