Re: [PATCH v2 1/1] lockd: Change nsm_use_hostnames from bool to u32

From: Pan Xinhui
Date: Sun Dec 11 2016 - 13:03:44 EST




å 2016/12/12 01:43, Pan Xinhui åé:

hi, jia
nice catch!
However I think we should fix it totally.
This is because do_proc_dointvec_conv() try to get a int value from a bool *.

something like below might help. pls. ignore the code style and this is tested :)
_untested_.