patch-2.2.17 linux/fs/isofs/inode.c

Next file: linux/fs/lockd/svc.c
Previous file: linux/fs/isofs/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.16/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -915,7 +915,7 @@
 	 * If we are beyond the end of this file, don't give out any
 	 * blocks.
 	 */
-	if( b_off > inode->i_size )
+	if( b_off >= inode->i_size )
 	  {
 	    off_t	max_legal_read_offset;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)