]> git.baikalelectronics.ru Git - kernel.git/commit
md/bitmap: move setting of daemon_lastrun out of bitmap_read_sb
authorNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:49:56 +0000 (12:49 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:51:41 +0000 (12:51 +1100)
commit624ce4f5658fa3e0303c1217bba2706142fe7568
treed2ceb07051efba40b01ddd76cfc93f4ed89ed831
parent43a705076e51c5af21ec4260a35699775ea298f5
md/bitmap: move setting of daemon_lastrun out of bitmap_read_sb

Setting daemon_lastrun really has nothing to do with reading
the bitmap superblock, it just happens to be needed at the same time.
bitmap_read_sb is about to become options, so move that code out
to after the call to bitmap_read_sb.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c