commit | 7cda7b8f97da9382bb945d541a85cde58d5dac27 | [log] [tgz] |
---|---|---|
author | Nicolai Stange <nicstange@gmail.com> | Tue Oct 31 00:15:51 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 07 20:25:02 2017 +0100 |
tree | 88556470e47f6306c52288d8abec8400289852b4 | |
parent | 69d29f9e6a53559895e6f785f6cf72daa738f132 [diff] |
IB/hfi1: convert to debugfs_file_get() and -put() 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@gmail.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>