diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-31 07:29:40 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-31 12:47:16 +0200 |
commit | 5069ba84b5e67873a2dfa4bf73a24506950fa1bf (patch) | |
tree | b63e810e39cf47f985a26e4d3b5dfe775ba9e72d /lib/string_helpers.c | |
parent | ec952aa253c0f49a70d9de7b44b5f5c93e2dfe54 (diff) |
NFS: switch back to using kill_anon_super
NFS switch to open coding kill_anon_super in 7b14a213890a
("nfs: don't call bdi_unregister") to avoid the extra bdi_unregister
call. At that point bdi_destroy was called in nfs_free_server and
thus it required a later freeing of the anon dev_t. But since
0db10944a76b ("nfs: Convert to separately allocated bdi") the bdi has
been free implicitly by the sb destruction, so this isn't needed
anymore.
By not open coding kill_anon_super, nfs now inherits the fix in
dc3216b14160 ("super: ensure valid info"), and we remove the only
open coded version of kill_anon_super.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230831052940.256193-1-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions