mirror of
https://github.com/versity/scoutfs.git
synced 2026-06-05 19:22:35 +00:00
Remove saved super block in scoutfs_sb_info
Now that we've removed its users we can remove the global saved copy of the super block from scoutfs_sb_info. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -463,7 +463,6 @@ static int scoutfs_read_supers(struct super_block *sb)
|
||||
|
||||
sbi->fsid = le64_to_cpu(meta_super->hdr.fsid);
|
||||
sbi->fmt_vers = le64_to_cpu(meta_super->fmt_vers);
|
||||
sbi->super = *meta_super;
|
||||
out:
|
||||
kfree(meta_super);
|
||||
kfree(data_super);
|
||||
|
||||
@@ -39,8 +39,6 @@ struct scoutfs_sb_info {
|
||||
u64 rid;
|
||||
u64 fmt_vers;
|
||||
|
||||
struct scoutfs_super_block super;
|
||||
|
||||
struct block_device *meta_bdev;
|
||||
|
||||
spinlock_t next_ino_lock;
|
||||
|
||||
Reference in New Issue
Block a user