Re: [PATCH v3 5/8] IB/hfi1: convert to debugfs_file_get() and -put()

From: Dennis Dalessandro
Date: Tue Nov 07 2017 - 09:29:59 EST


On 10/30/2017 7:15 PM, Nicolai Stange wrote:
Convert all calls to the now obsolete debugfs_use_file_start() and
debugfs_use_file_finish() to the new debugfs_file_get() and
debugfs_file_put() API.

Fixes: 49d200deaa68 ("debugfs: prevent access to removed files' private
data")
Signed-off-by: Nicolai Stange <nicstange@xxxxxxxxx>

Looks OK to me.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>