diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-06-16 22:07:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 14:19:00 -0700 |
commit | 2f38d70fb4e97e7d00e12eaac45790cf6ebd7b22 (patch) | |
tree | 393a604669640635a33c1db179bd053d8b923252 /drivers/spi | |
parent | b3fec0fe35a4ff048484f1408385a27695d4273b (diff) |
shift current_cred() from __f_setown() to f_modown()
Shift current_cred() from __f_setown() to f_modown(). This reduces
the number of arguments and saves 48 bytes from fs/fcntl.o.
[ Note: this doesn't clear euid/uid when pid is set to NULL. But if
f_owner.pid == NULL we never use f_owner.uid/euid. Otherwise we'd
have a bug anyway: we must not send signals if pid was reset to NULL. ]
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions