• M
    nbd: Fix debugfs error handling · 27ea43fe
    Markus Pargmann 提交于
    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: NMarkus Pargmann <mpa@pengutronix.de>
    27ea43fe
nbd.c 25.8 KB