From: Ian Abbott Date: Wed, 19 May 2010 17:09:50 +0000 (+0100) Subject: Staging: comedi: For COMEDI_BUFINFO, check access to command X-Git-Tag: v2.6.35-rc2~14^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53fa827e295d8b09a2446b3126577244644d256d;p=pandora-kernel.git Staging: comedi: For COMEDI_BUFINFO, check access to command Don't allow COMEDI_BUFINFO ioctl if some other file object has locked the subdevice or has an active command. If there is no active command, just report back the last buffer position. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed