diff options
author | Jens Axboe <axboe@suse.de> | 2006-06-08 10:26:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-08 15:14:24 -0700 |
commit | 71601e2b33dad9acb8d7844f7321f90ed9d1bce8 (patch) | |
tree | 5057391f7c99e207ca8a18c075bc2333b57d3e7f /fs/namei.c | |
parent | bc1c116974a5c3f498112a6f175d3e4a8cd5bdbc (diff) |
[PATCH] debugfs inode leak
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: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions