commit | f2b2242081314ee4385f3b49d92b0adff8324d80 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Wed Mar 21 18:14:30 2012 +0200 |
committer | Jan Kara <jack@suse.cz> | Wed Apr 11 11:12:45 2012 +0200 |
tree | b63eb97b2c1f50e253446b42ed58e6e43e429db2 | |
parent | ee65244b210e00060c2d4d8eff4ad9b18400f588 [diff] |
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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Jan Kara <jack@suse.cz>