linux-uconsole/include
Omar Sandoval f31b9c8fe7 UPSTREAM: 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>
(cherry picked from commit a7c5437b0b)

Change-Id: I77b6f2c7df32f904099d23771a53065315cfdc12
2017-07-26 15:07:32 +08:00
..
acpi
asm-generic Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
clocksource arm64: KVM: Implement timer save/restore 2016-11-09 22:15:41 +08:00
crypto Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-04-23 12:02:14 +08:00
drm drm/rockchip: hdmi: Add support for rk3366 2017-07-20 14:38:47 +08:00
dt-bindings arm: dts: rk3288: add dfi and dmc device nodes 2017-06-29 09:49:17 +08:00
keys
kvm KVM: arm/arm64: vgic-v3: Make the LR indexing macro public 2016-11-09 22:15:40 +08:00
linux UPSTREAM: debugfs: add debugfs_lookup() 2017-07-26 15:07:32 +08:00
math-emu
media isp10: rockchip: v0.1.6 2016-11-29 21:11:43 +08:00
memory
misc
net Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-06-08 12:11:52 +08:00
pcmcia
ras
rdma RDMA/core: Fix incorrect structure packing for booleans 2017-03-12 06:37:29 +01:00
rxrpc
scsi scsi: libiscsi: add lock around task lists to fix list corruption regression 2017-03-26 12:13:19 +02:00
soc soc: rockchip: introduce system status notifier 2017-06-26 17:56:39 +08:00
sound ASoC: codec: hdmi-codec: add support for audio mode config 2017-04-13 19:19:08 +08:00
target target: Convert ACL change queue_depth se_session reference usage 2017-05-20 14:26:58 +02:00
trace LSK 17.06 v4.4-android 2017-07-12 19:35:02 +08:00
uapi drm/rockchip: add cabc support 2017-07-19 14:34:00 +08:00
video video: rockchip: screen: add refresh mode for cmd mode screen 2016-10-26 16:54:56 +08:00
xen
Kbuild