From: Vasiliy Kulikov Date: Sun, 10 Oct 2010 17:28:39 +0000 (+0400) Subject: staging: cpia: fix camera file owner in cpia_open() X-Git-Tag: v2.6.37-rc2~22^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c888d4e7b2644c7ff17098b0b521c29b98e0abd0;p=pandora-kernel.git staging: cpia: fix camera file owner in cpia_open() Use effective UID instead of real UID for camera owner. There is no need to check for pending signals just before successfull return. Exit in case of pending signal also leaved camera in open state. Signed-off-by: Vasiliy Kulikov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed