commit | 53fa827e295d8b09a2446b3126577244644d256d | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed May 19 18:09:50 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jun 04 13:38:53 2010 -0700 |
tree | 38e3ad302db84c0cad2fc714fc494f9d9fecc21f | |
parent | 4772c018e35b6a21e8a8bde54568b59998540a16 [diff] |
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 <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>