patch-2.1.34 linux/fs/isofs/inode.c
Next file: linux/fs/nfs/Makefile
Previous file: linux/fs/isofs/dir.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri Apr 11 10:37:41 1997
- Orig file:
v2.1.33/linux/fs/isofs/inode.c
- Orig date:
Sun Apr 13 10:18:22 1997
diff -u --recursive --new-file v2.1.33/linux/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -393,7 +393,7 @@
if( (blocksize != 0)
&& (orig_zonesize < blocksize) )
{
- printk("Logical zone size(%ld) < hardware blocksize(%ld)\n",
+ printk("Logical zone size(%d) < hardware blocksize(%u)\n",
orig_zonesize, blocksize);
goto out;
@@ -549,12 +549,12 @@
* the page with useless information without generating any
* I/O errors.
*/
- max_legal_read_offset = (inode->i_size + PAGE_SIZE - 1)
+ max_legal_read_offset = (inode->i_size + PAGE_SIZE - 1)
& ~(PAGE_SIZE - 1);
if( (block << ISOFS_BUFFER_BITS(inode)) >= max_legal_read_offset )
{
- printk("_isofs_bmap: block>= EOF(%d, %d)\n", block,
+ printk("_isofs_bmap: block>= EOF(%d, %ld)\n", block,
inode->i_size);
}
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov