diff options
| author | Jens Axboe <[email protected]> | 2006-06-08 08:26:39 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-06-08 22:14:24 +0000 |
| commit | 71601e2b33dad9acb8d7844f7321f90ed9d1bce8 (patch) | |
| tree | 5057391f7c99e207ca8a18c075bc2333b57d3e7f /fs/xfs/xfs_rtalloc.c | |
| parent | [PATCH] elevator switching race (diff) | |
| download | kernel-71601e2b33dad9acb8d7844f7321f90ed9d1bce8.tar.gz kernel-71601e2b33dad9acb8d7844f7321f90ed9d1bce8.zip | |
[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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions
