[Lustre-discuss] class_handle_ioctl function looks not safe

Alexey Lyashkov alexey.lyashkov at clusterstor.com
Sat Oct 9 00:08:16 PDT 2010


Hi list,


class_handle_ioctl (which used for lctl and other tools) looks not safe, because it uses class_num2obd and class_name2obd 
which don't get extra reference for obd device, so that device can destroyed when some tool work with it.


--------------------------------------
Alexey Lyashkov
alexey.lyashkov at clusterstor.com







More information about the lustre-discuss mailing list