[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <8a609db8-b715-4aad-913e-62fe8f6ec45d@linux.vnet.ibm.com>
Date: Mon, 12 Dec 2016 02:03:27 +0800
From: Pan Xinhui <xinhui@...ux.vnet.ibm.com>
To: Jia He <hejianet@...il.com>, linux-nfs@...r.kernel.org
Cc: "J. Bruce Fields" <bfields@...ldses.org>,
Jeff Layton <jlayton@...chiereds.net>,
Trond Myklebust <trond.myklebust@...marydata.com>,
Anna Schumaker <anna.schumaker@...app.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] lockd: Change nsm_use_hostnames from bool to u32
在 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_.
Powered by blists - more mailing lists