aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorStefan Raspl <[email protected]>2009-05-19 09:59:08 +0200
committerIngo Molnar <[email protected]>2009-05-19 10:29:21 +0200
commitfd51d251e4cdb21f68e9dbc4336514d64a105a79 (patch)
tree478fb26aea6b7e79532f33cc5949b4fece18cdfc /net/lapb/lapb_iface.c
parent143c145e3a475065a4be661468d0df1bd0b25f74 (diff)
blktrace: remove debugfs entries on bad path
debugfs directory entries for devices are not removed on some of the failure pathes in do_blk_trace_setup(). One way to reproduce is to start blktrace on multiple devices with insufficient Vmalloc space: Devices will fail with a message like this: BLKTRACESETUP(2) /dev/sdu failed: 5/Input/output error If so, the respective entries in debugfs (e.g. /sys/kernel/debug/block/sdu) will remain and subsequent attempts to start blktrace on the respective devices will not succeed due to existing directories. [ Impact: fix /debug/tracing file cleanup corner case ] Signed-off-by: Stefan Raspl <[email protected]> Acked-by: Li Zefan <[email protected]> Cc: Li Zefan <[email protected]> Cc: [email protected] Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions