From: Oleg Nesterov Date: Tue, 16 Jun 2009 20:07:46 +0000 (+0200) Subject: shift current_cred() from __f_setown() to f_modown() X-Git-Tag: v2.6.31-rc1~302 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f38d70fb4e97e7d00e12eaac45790cf6ebd7b22;p=pandora-kernel.git 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 Acked-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed