]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/jfs/jfs_extent.c
[PATCH] inode-diet: Eliminate i_blksize from the inode structure
[linux-2.6-omap-h63xx.git] / fs / jfs / jfs_extent.c
index 4d52593a5fc669a018cbd09066e52cb269f18a15..4c74f0944f7ea20ccad8343b02d1edcd85af95dc 100644 (file)
@@ -468,7 +468,7 @@ int extRecord(struct inode *ip, xad_t * xp)
 int extFill(struct inode *ip, xad_t * xp)
 {
        int rc, nbperpage = JFS_SBI(ip->i_sb)->nbperpage;
-       s64 blkno = offsetXAD(xp) >> ip->i_blksize;
+       s64 blkno = offsetXAD(xp) >> ip->i_blkbits;
 
 //      assert(ISSPARSE(ip));