From: Clemens Ladisch Date: Mon, 2 Nov 2009 08:35:44 +0000 (+0100) Subject: control: use reference-counted pid X-Git-Tag: v2.6.33-rc1~390^2~3^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25d27eded1f4fc728e64f443adc339b5229be5d7;p=pandora-kernel.git control: use reference-counted pid Instead of storing the PID number, take a reference to the task's pid structure. This protects against duplicates due to PID overflows, and using pid_vnr() ensures that the PID returned by snd_ctl_elem_info() is correct as seen from the current namespace. Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed