[Ocfs2-commits] manish commits r2406 - trunk/fs/configfs

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Jun 17 19:05:17 CDT 2005


Author: manish
Signed-off-by: jlbec
Date: 2005-06-17 19:05:16 -0500 (Fri, 17 Jun 2005)
New Revision: 2406

Modified:
   trunk/fs/configfs/file.c
Log:
Minor cleanup

Signed-off-by: jlbec


Modified: trunk/fs/configfs/file.c
===================================================================
--- trunk/fs/configfs/file.c	2005-06-18 00:04:53 UTC (rev 2405)
+++ trunk/fs/configfs/file.c	2005-06-18 00:05:16 UTC (rev 2406)
@@ -167,7 +167,7 @@
 	if (!buffer->page)
 		return -ENOMEM;
 
-	if (count >= PAGE_SIZE)
+	if (count > PAGE_SIZE)
 		count = PAGE_SIZE;
 	error = copy_from_user(buffer->page,buf,count);
 	buffer->needs_read_fill = 1;



More information about the Ocfs2-commits mailing list