Initialize max_slots early
authorGoldwyn Rodrigues <rgoldwyn@gmail.com>
Mon, 11 Oct 2010 17:57:09 +0000 (12:57 -0500)
committerJoel Becker <joel.becker@oracle.com>
Mon, 11 Oct 2010 20:56:32 +0000 (13:56 -0700)
commit75d9bbc73804285020aa4d99bd2a9600edea8945
tree02b197462fb0c102b9ccb57266810ebf375a028f
parentf30d44f3e54a94e037da7a71d714b585dab28d9e
Initialize max_slots early

Functions such as ocfs2_recovery_init() make use of osb->max_slots.
Initialize osb->max_slots early so the functions may use the correct
value.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/super.c