patch-2.4.0-test6 linux/fs/devices.c
Next file: linux/fs/exec.c
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Jul 28 12:39:00 2000
- Orig file:
v2.4.0-test5/linux/fs/devices.c
- Orig date:
Thu Jul 27 17:38:01 2000
diff -u --recursive --new-file v2.4.0-test5/linux/fs/devices.c linux/fs/devices.c
@@ -88,11 +88,11 @@
char name[20];
sprintf(name, "char-major-%d", major);
request_module(name);
- }
- read_lock(&chrdevs_lock);
- ret = fops_get(chrdevs[major].fops);
- read_unlock(&chrdevs_lock);
+ read_lock(&chrdevs_lock);
+ ret = fops_get(chrdevs[major].fops);
+ read_unlock(&chrdevs_lock);
+ }
#endif
return ret;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)