From: Jonathan Brassow Date: Tue, 7 Jun 2011 22:51:30 +0000 (-0500) Subject: MD: add sync_super to mddev_t struct X-Git-Tag: v3.0-rc4~98^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=076f968b37f0232d883749da8f5031df5dea7ade;p=pandora-kernel.git MD: add sync_super to mddev_t struct Add the 'sync_super' function pointer to MD array structure (struct mddev_s) If device-mapper (dm-raid.c) is to define its own on-disk superblock and be able to load it, there must still be a way for MD to initiate superblock updates. The simplest way to make this happen is to provide a pointer in the MD array structure that can be set by device-mapper (or other module) with a function to do this. If the function has been set, it will be used; otherwise, the method with be looked up via 'super_types' as usual. Signed-off-by: Jonathan Brassow Signed-off-by: NeilBrown --- Reading git-diff-tree failed