aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2009-06-16 22:07:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-16 14:19:00 -0700
commit2f38d70fb4e97e7d00e12eaac45790cf6ebd7b22 (patch)
tree393a604669640635a33c1db179bd053d8b923252 /drivers
parentb3fec0fe35a4ff048484f1408385a27695d4273b (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')
0 files changed, 0 insertions, 0 deletions