Files
kernel_arpi/include/linux
Omar Sandoval a7c5437b0b debugfs: add debugfs_lookup()
We don't always have easy access to the dentry of a file or directory we
created in debugfs. Add a helper which allows us to get a dentry we
previously created.

The motivation for this change is a problem with blktrace and the blk-mq
debugfs entries introduced in 07e4fead45 ("blk-mq: create debugfs
directory tree"). Namely, in some cases, the directory that blktrace
needs to create may already exist, but in other cases, it may not. We
_could_ rely on a bunch of implied knowledge to decide whether to create
the directory or not, but it's much cleaner on our end to just look it
up.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-02-02 10:20:16 -07:00
..
2016-12-22 22:58:37 -05:00
2016-12-08 13:31:11 -05:00
2017-01-16 14:03:31 -05:00
2016-12-08 16:37:33 -08:00
2017-02-02 10:20:16 -07:00
2017-01-16 14:03:31 -05:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-12 18:55:06 -08:00
2016-12-25 17:21:23 +01:00
2016-12-06 11:05:46 +01:00
2016-12-16 00:13:41 +02:00
2016-12-19 17:29:44 -05:00
2016-12-12 18:55:07 -08:00
2016-12-06 10:17:03 +02:00
2016-12-08 14:21:47 -05:00
2017-01-10 18:31:55 -08:00
2016-12-25 17:21:22 +01:00
2017-01-10 18:31:55 -08:00
2016-12-09 22:12:21 -05:00
2016-12-12 18:55:08 -08:00
2016-12-25 17:21:22 +01:00