diff options
author | 2023-08-02 17:41:26 +0200 | |
---|---|---|
committer | 2023-08-11 13:15:03 +0200 | |
commit | 9c09a7cf6220a11dac0f4845b7e8925706cdc458 (patch) | |
tree | 11a38fc43c68b4bd5989b86dee073b5f527e4c12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs: use the super_block as holder when mounting file systems (diff) | |
download | wireguard-linux-9c09a7cf6220a11dac0f4845b7e8925706cdc458.tar.xz wireguard-linux-9c09a7cf6220a11dac0f4845b7e8925706cdc458.zip |
fs: stop using get_super in fs_mark_dead
fs_mark_dead currently uses get_super to find the superblock for the
block device that is going away. This means it is limited to the
main device stored in sb->s_dev, leading to a lot of code duplication
for file systems that can use multiple block devices.
Now that the holder for all block devices used by file systems is set
to the super_block, we can instead look at that holder and then check
if the file system is born and active, so do that instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Message-Id: <20230802154131.2221419-8-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions