Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.17.0
-
None
-
3
-
9223372036854775807
Description
MDT_BOOL_RW_ATTR macro in lustre/mdt/mdt_lproc.c create a store and show methods for a boolean sysfs entry, but in process they use result of mdt_dev() call without checking, but internally it uses container_of_safe that could return NULL or ERR_PTR, so we need to check the return value.