commit | 27ea43fe2a32f63bb6f442dafc2133232b8af4a6 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Sat Oct 24 21:15:34 2015 +0200 |
committer | Markus Pargmann <mpa@pengutronix.de> | Wed Feb 03 11:02:56 2016 +0100 |
tree | 145cf78515bd373bc9ccbd56772590890ef006cf | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d [diff] |
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: Markus Pargmann <mpa@pengutronix.de>