o-o-oops, patch for blkdev.c file

Eugeny S. Mints Eugeny.Mints at oktet.ru
Thu Jan 16 12:28:30 UTC 2003


Attached is the patch for blkdev.c file.

-- 
Eugeny S. Mints
OKTET Ltd.
1 Ulianovskaya st., Petergof, St.Petersburg, 198904 Russia
Phone: +7(812)428-4384 Fax: +7(812)327-2246
mailto:Eugeny.Mints at oktet.ru
-------------- next part --------------
--- blkdev.old	Fri Jul 26 13:05:37 2002
+++ blkdev.c	Wed Jan 15 15:38:09 2003
@@ -117,7 +117,7 @@
         bdbuf_buffer *diskbuf;
         int copy;
         
-        if ((blkofs == 0) && (count > block_size))
+        if ((blkofs == 0) && (count >= block_size))
             rc = rtems_bdbuf_get(dev, block, &diskbuf);
         else
             rc = rtems_bdbuf_read(dev, block, &diskbuf);


More information about the users mailing list