Messages in this thread | | | Date | Wed, 30 Oct 2019 10:10:51 +0100 | From | Greg KH <> | Subject | Re: [PATCH] fault-inject: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops |
| |
On Wed, Oct 30, 2019 at 04:22:36PM +0800, zhong jiang wrote: > It is more clear to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs file > operation rather than DEFINE_SIMPLE_ATTRIBUTE.
Why does this matter? What does this change? You are changing how some of the file reference counting works now, are you sure this is ok?
thanks,
greg k-h
| |