Commit 5069ba8
NFS: switch back to using kill_anon_super
NFS switch to open coding kill_anon_super in 7b14a21
("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
0db1094 ("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
dc3216b ("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>1 parent ec952aa commit 5069ba8
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1339 | 1339 | | |
1340 | 1340 | | |
1341 | 1341 | | |
1342 | | - | |
1343 | 1342 | | |
1344 | 1343 | | |
1345 | | - | |
| 1344 | + | |
1346 | 1345 | | |
1347 | 1346 | | |
1348 | 1347 | | |
1349 | 1348 | | |
1350 | | - | |
1351 | 1349 | | |
1352 | 1350 | | |
1353 | 1351 | | |
| |||
0 commit comments