Commit 27ea43fe authored by Markus Pargmann's avatar Markus Pargmann
Browse files

nbd: Fix debugfs error handling



Static checker complains about the implemented error handling. It is
indeed wrong. We don't care about the return values of created debugfs
files.

We only have to check the return values of created dirs for NULL
pointer. If we use a null pointer as parent directory for files, this
may lead to debugfs files in wrong places.

Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
parent 92e963f5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment