diff options
| author | Eric W. Biederman <[email protected]> | 2007-05-08 07:26:53 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-08 18:15:04 +0000 |
| commit | 2a65f1d9fe78475720bd8f0e0fbbf1973b1b5ac2 (patch) | |
| tree | f23bfe8a3602d1fea448d3416c639957bccc9677 /security/selinux/hooks.c | |
| parent | tty: remove unnecessary export of proc_clear_tty (diff) | |
| download | kernel-2a65f1d9fe78475720bd8f0e0fbbf1973b1b5ac2.tar.gz kernel-2a65f1d9fe78475720bd8f0e0fbbf1973b1b5ac2.zip | |
tty: simplify calling of put_pid.
This patch should contain no functional changes.
At some point I got confused and thought put_pid could not be called while a
spin lock was held. While it may be nice to avoid that to reduce lock hold
times put_pid can be safely called while we hold a spin lock.
This patch removes all of the complications from the code introduced by my
misunderstanding, making the code a little more readable.
Signed-off-by: Eric W. Biederman <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
