projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78028e7
)
rolling back last change
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 11 May 2001 14:58:41 +0000
(14:58 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 11 May 2001 14:58:41 +0000
(14:58 +0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index fc8643bf683969a1a00035d48945c65365f04fdb..d691f0866a8e12769f873b084f8aa09372a989c1 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-1657,15
+1657,15
@@
printk("m is %d\n",m);
if(m<n)n=m;
if(n==0){
- if(file->f_flags&O_NONBLOCK){
- retval=-EAGAIN;
- break;
- }
if(!(s->subdev_flags&SDF_RUNNING)){
do_become_nonbusy(dev,s);
retval=-EINVAL;
break;
}
+ if(file->f_flags&O_NONBLOCK){
+ retval=-EAGAIN;
+ break;
+ }
if(signal_pending(current)){
retval=-ERESTARTSYS;
break;