Skip to content
Commit f2b22420 authored by Artem Bityutskiy's avatar Artem Bityutskiy Committed by Jan Kara
Browse files

ext2: write superblock only once on unmount



Currently on unmount if we are mounted R/W, we first write the superblock to
the media if it is dirty, and then write it again, which is not optimal. This
patch makes ext2 write the superblock on unmount less times.

Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent ee65244b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment