diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2010-05-19 13:09:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 16:38:53 -0400 |
commit | 53fa827e295d8b09a2446b3126577244644d256d (patch) | |
tree | 38e3ad302db84c0cad2fc714fc494f9d9fecc21f /net/lapb/lapb_timer.c | |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions