From: Joel Becker Date: Fri, 15 Jun 2007 04:40:49 +0000 (-0700) Subject: ocfs2: Depend on configfs heartbeat items. X-Git-Tag: v2.6.23-rc1~781^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14829422be6d6b6721f61b1e749acf5a9cb664d8;p=pandora-kernel.git ocfs2: Depend on configfs heartbeat items. ocfs2 mounts require a heartbeat region. Use the new configfs_depend_item() facility to actually depend on them so they can't go away from under us. First, teach cluster/nodemanager.c to depend an item on the o2cb subsystem. Then teach o2hb_register_callbacks to take a UUID and depend on the appropriate region. Finally, teach all users of o2hb to pass a UUID or NULL if they don't require a pin. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed