Commit f3b30912 authored by akpm@osdl.org's avatar akpm@osdl.org Committed by Steven Whitehouse

[GFS2] inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default-vs-gfs2

i_blksize got removed in -mm.

Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 07903c02
...@@ -508,7 +508,7 @@ static int gfs2_block_pointers(struct inode *inode, u64 lblock, int create, ...@@ -508,7 +508,7 @@ static int gfs2_block_pointers(struct inode *inode, u64 lblock, int create,
boundary = lookup_block(ip, bh, end_of_metadata, mp, 0, &new, &eblock); boundary = lookup_block(ip, bh, end_of_metadata, mp, 0, &new, &eblock);
if (eblock != ++dblock) if (eblock != ++dblock)
break; break;
bh_map->b_size += inode->i_blksize; bh_map->b_size += (1 << inode->i_blkbits);
if (boundary) if (boundary)
set_buffer_boundary(bh_map); set_buffer_boundary(bh_map);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment