]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - fs/ext4/super.c
ext4: write superblock only once on unmount
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 22 Mar 2012 02:29:15 +0000 (22:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 02:29:15 +0000 (22:29 -0400)
commita8e25a83245618e6b0ddf82a9bba79c1b466804d
tree0bcdefe7f23b4fba9a9b20e02cec08d0550de316
parent1b8b9750f07cdd6e13f12c06ae7ec853f2abbe6c
ext4: write superblock only once on unmount

In some rather rare cases it is possible that ext4 may the superblock
to the media twice. This patch makes sure this does not happen. This
should speed up unmounting in those cases.

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