Commit b4839242 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] set_blocksize() in JFS

Use sb_set_blocksize() in JFS instead of trying to do it by hand.
parent 07a9abc8
...@@ -268,10 +268,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -268,10 +268,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
/* /*
* Initialize blocksize to 4K. * Initialize blocksize to 4K.
*/ */
sb->s_blocksize = PSIZE; sb_set_blocksize(sb, PSIZE);
sb->s_blocksize_bits = L2PSIZE;
set_blocksize(sb->s_dev, PSIZE);
sb->s_op = &jfs_sops; sb->s_op = &jfs_sops;
/* /*
* Initialize direct-mapping inode/address-space * Initialize direct-mapping inode/address-space
......
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