diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-06-01 17:18:07 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 10:37:36 -0400 |
commit | 5c5fd81962271d4ee2984837fef4ec37e689aa41 (patch) | |
tree | bf426f26c8265c3572e37e3a0908624da0cf0a58 /fs/ntfs | |
parent | 717f03c4d71677d2afb68d54628def3aae5d46ab (diff) | |
download | kernel_goldelico_gta04-5c5fd81962271d4ee2984837fef4ec37e689aa41.zip kernel_goldelico_gta04-5c5fd81962271d4ee2984837fef4ec37e689aa41.tar.gz kernel_goldelico_gta04-5c5fd81962271d4ee2984837fef4ec37e689aa41.tar.bz2 |
reiserfs: mark the superblock as dirty a bit later
The 'journal_mark_dirty()' function currently first marks the superblock as
dirty by setting 's_dirt' to 1, then does various sanity checks and returns,
then actuall does all the magic with the journal.
This is not an ideal order, though. It makes more sense to first do all the
checks, then do all the internal stuff, and at the end notify the VFS that the
superblock is now dirty.
This patch moves the 's_dirt = 1' assignment from the very beginning of this
function to the very end.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ntfs')
0 files changed, 0 insertions, 0 deletions