diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-18 18:16:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-21 20:46:45 +0200 |
commit | 1be4ec2456a7d110092ad8cc918eef75b878ec4e (patch) | |
tree | 72cfc05c2421298e062e70bab0763f7e66e15ad2 /fs/debugfs | |
parent | 77b98d456d60e2923516903ab2ceb478ea22554c (diff) |
scsi: snic: debugfs: remove local storage of debugfs files
There is no need to keep the dentry around for the debugfs trace files,
as we can just look it up when we want to remove it later on. Simplify
the structure by removing the dentries and relying on debugfs to find
the dentry to remove when we want to.
By doing this change, we remove the last in-kernel user that was storing
the result of debugfs_create_bool(), so that api can be cleaned up.
Cc: Karan Tilak Kumar <kartilak@cisco.com>
Cc: Sesidhar Baddela <sebaddel@cisco.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: <linux-scsi@vger.kernel.org>
Link: https://lore.kernel.org/r/20210518161625.3696996-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions