summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2006-01-08 01:03:39 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:13:59 -0800
commite78c9a004aadebe22306c81d1a7f1d1278dc37f9 (patch)
treeabbe82c7f8ce8d3059619c7941de14e585859aa4 /fs/super.c
parent90f2447d08a5fbddc8b58f8a6425b0513807f919 (diff)
downloadlinux-stable-e78c9a004aadebe22306c81d1a7f1d1278dc37f9.tar.gz
linux-stable-e78c9a004aadebe22306c81d1a7f1d1278dc37f9.tar.bz2
linux-stable-e78c9a004aadebe22306c81d1a7f1d1278dc37f9.zip
[PATCH] fs: remove s_old_blocksize from struct super_block
This patch inlines the single user of struct super_block field s_old_blocksize and removes the field. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/super.c b/fs/super.c
index 5a347a4f673a..0a30e51692cf 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -700,8 +700,7 @@ struct super_block *get_sb_bdev(struct file_system_type *fs_type,
s->s_flags = flags;
strlcpy(s->s_id, bdevname(bdev, b), sizeof(s->s_id));
- s->s_old_blocksize = block_size(bdev);
- sb_set_blocksize(s, s->s_old_blocksize);
+ sb_set_blocksize(s, block_size(bdev));
error = fill_super(s, data, flags & MS_VERBOSE ? 1 : 0);
if (error) {
up_write(&s->s_umount);