]> git.ipfire.org Git - thirdparty/linux.git/commit
blk-mq-debugfs: use debugfs_get_aux()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jul 2025 21:28:18 +0000 (22:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:30:29 +0000 (13:30 +0200)
commit4c0727e56831cf3646c604131e2eea25c734c9eb
tree502afea9d90868e1b7872b0f38e54c8e13a7cb8e
parent9d3b96be2ee81a7d6ad08cb5094753f06382db1b
blk-mq-debugfs: use debugfs_get_aux()

instead of manually stashing the data pointer into parent directory inode's
->i_private, just pass it to debugfs_create_file_aux() so that it can
be extracted without that insane chasing through ->d_parent.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250702212818.GJ3406663@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/blk-mq-debugfs.c