m + fix errors in mds.c

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m fix

Signed-off-by: Mattias Andrée <maandree@operamail.com>