diff options
| author | Christoph Hellwig <[email protected]> | 2007-02-10 01:46:46 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-02-11 11:18:07 -0800 |
| commit | d5698c28b6e4711e4747bf155f69936208d60e28 (patch) | |
| tree | f11e7a8892a4ff218dc9a9789dbb77754ccb61f6 /include/linux/debugobjects.h | |
| parent | 4b98d11b40f03382918796f3c5c936d5495d20a4 (diff) | |
[PATCH] tty: cleanup release_mem
release_mem contains two copies of exactly the same code. Refactor these
into a new helper, release_tty. The only change in behaviour is that the
driver reference count is now decremented after the master tty has been
freed instead of before.
[[email protected]: fix use-after-free in release_tty.]
Cc: Alan Cox <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions