diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-07 13:26:25 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-09 08:21:22 +0200 |
commit | 6a3207395563f724d91231ec0aa7c4d95bf9591d (patch) | |
tree | d0b67bbacd996f47e818af92784a090b3afd8936 /fs/super.c | |
parent | ocfs2: stop using bdev->bd_super for journal error logging (diff) | |
download | linux-6a3207395563f724d91231ec0aa7c4d95bf9591d.tar.xz linux-6a3207395563f724d91231ec0aa7c4d95bf9591d.zip |
fs, block: remove bdev->bd_super
bdev->bd_super is unused now, remove it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Message-Id: <20230807112625.652089-5-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/super.c b/fs/super.c index e781226e2880..7755cc2a3607 100644 --- a/fs/super.c +++ b/fs/super.c @@ -1322,7 +1322,6 @@ int get_tree_bdev(struct fs_context *fc, } s->s_flags |= SB_ACTIVE; - bdev->bd_super = s; } BUG_ON(fc->root); @@ -1395,7 +1394,6 @@ struct dentry *mount_bdev(struct file_system_type *fs_type, } s->s_flags |= SB_ACTIVE; - bdev->bd_super = s; } return dget(s->s_root); @@ -1413,7 +1411,6 @@ void kill_block_super(struct super_block *sb) { struct block_device *bdev = sb->s_bdev; - bdev->bd_super = NULL; generic_shutdown_super(sb); sync_blockdev(bdev); blkdev_put(bdev, sb->s_type); |