diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index e6796ab1e3..6beaf8d5a4 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -146,6 +146,10 @@ afs_fill_super(struct super_block *sb, void *data, int silent) if (code) { afs_globalVFS = NULL; afs_FlushAllVCaches(); +#if defined(HAVE_LINUX_BDI_INIT) + bdi_destroy(afs_backing_dev_info); +#endif + kfree(afs_backing_dev_info); module_put(THIS_MODULE); }