]> 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)
commitaf6f8a26dc899c6d82e098a7748ba99c9ce441ca
treed2ceb07051efba40b01ddd76cfc93f4ed89ed831
parent593df54a65c0f2822c900d64dffcdf51be770437
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