[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191102171050.GB479906@kroah.com>
Date: Sat, 2 Nov 2019 18:10:50 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: zhong jiang <zhongjiang@...wei.com>
Cc: akinobu.mita@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] fault-inject: use DEFINE_DEBUGFS_ATTRIBUTE to
define debugfs fops
On Thu, Oct 31, 2019 at 09:56:17AM +0800, zhong jiang wrote:
> It is more clearly to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs file
> operation rather than DEFINE_SIMPLE_ATTRIBUTE.
>
> Meanwhile, debugfs_create_file() in debugfs_create_stacktrace_depth() can
> be replaced by debugfs_create_file_unsafe().
Why is it ok to do this replacement? You should describe in detail how
you determined this was ok to do.
thanks,
greg k-h
Powered by blists - more mailing lists