OSDN Git Service

ext4: do not mark superblock as dirty unnecessarily
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 22 Mar 2012 02:28:29 +0000 (22:28 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 02:28:29 +0000 (22:28 -0400)
commit1b8b9750f07cdd6e13f12c06ae7ec853f2abbe6c
treee760b3589e4c4e1e6b346cda33f6730ff3f713a4
parent73355192748483a5ba698345092321611f91b04f
ext4: do not mark superblock as dirty unnecessarily

Commit a0375156ca1041574b5d47cc7e32f10b891151b0 cleaned up superblock
dirtying handling, but missed one place. This patch does what was
intended: if we have the journal, then we update the superblock
through the journal rather than doing this directly.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c