commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/fatfs ChangeLog pager.c


From: Jeff Bailey
Subject: hurd/fatfs ChangeLog pager.c
Date: Mon, 28 Jul 2003 18:42:26 -0400

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Branch:         
Changes by:     Jeff Bailey <address@hidden>    03/07/28 18:42:26

Modified files:
        fatfs          : ChangeLog pager.c 

Log message:
        2003-07-17  Marcus Brinkmann  <address@hidden>
        
        * pager.c (find_cluster): Round to cluster size rather than adding
        cluster size.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/ChangeLog.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/pager.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: hurd/fatfs/ChangeLog
diff -u hurd/fatfs/ChangeLog:1.3 hurd/fatfs/ChangeLog:1.4
--- hurd/fatfs/ChangeLog:1.3    Sun Jul 27 21:48:26 2003
+++ hurd/fatfs/ChangeLog        Mon Jul 28 18:42:26 2003
@@ -1,3 +1,8 @@
+2003-07-17  Marcus Brinkmann  <address@hidden>
+
+       * pager.c (find_cluster): Round to cluster size rather than adding
+       cluster size.
+
 2003-07-14  Marco Gerards  <address@hidden>
 
        * fat.c (fat_read_sblock): Don't test if the root dir size is a
Index: hurd/fatfs/pager.c
diff -u hurd/fatfs/pager.c:1.2 hurd/fatfs/pager.c:1.3
--- hurd/fatfs/pager.c:1.2      Sun Jul 27 21:48:26 2003
+++ hurd/fatfs/pager.c  Mon Jul 28 18:42:26 2003
@@ -106,7 +106,7 @@
       rwlock_reader_lock (*lock);
     }
 
-  if (offset + bytes_per_cluster > node->allocsize)
+  if (round_cluster (offset) > node->allocsize)
     return EIO;
 
   err = fat_getcluster (node, offset >> log2_bytes_per_cluster, 0, cluster);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]