• J
    [PATCH] debugfs inode leak · 71601e2b
    Jens Axboe 提交于
    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: NJens Axboe <axboe@suse.de>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    71601e2b
inode.c 8.9 KB