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

Next file: linux/fs/isofs/rock.c
Previous file: linux/fs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.27/linux/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -990,8 +990,8 @@
 	}
 
 	bh_result->b_dev = inode->i_dev;
-	bh_result->b_blocknr =
-		(b_off - offset + firstext) >> ISOFS_BUFFER_BITS(inode);
+	bh_result->b_blocknr = firstext +
+		((b_off - offset) >> ISOFS_BUFFER_BITS(inode));
 	bh_result->b_state |= (1UL << BH_Mapped);
 	err = 0;
 
@@ -1236,8 +1236,7 @@
 	  iso_date(raw_inode->date, high_sierra);
 
 	inode->u.isofs_i.i_first_extent = (isonum_733 (raw_inode->extent) +
-					   isonum_711 (raw_inode->ext_attr_length))
-	  << inode -> i_sb -> u.isofs_sb.s_log_zone_size;
+					   isonum_711 (raw_inode->ext_attr_length));
 
 /* Now test for possible Rock Ridge extensions which will override some of
    these numbers in the inode structure. */

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