Skip to content
  • Jens Axboe's avatar
    [PATCH] debugfs inode leak · 71601e2b
    Jens Axboe authored
    Looking at the reiser4 crash, I found a leak in debugfs. In
    debugfs_mknod(), we create the inode before checking if the dentry
    already has one attached. We don't free it if that is the case.
    These bugs happen quite often, I'm starting to think we should disallow
    such coding in CodingStyle.
    Signed-off-by: default avatarJens Axboe <>
    Signed-off-by: default avatarLinus Torvalds <>