From 8143e99a2c6ec137313cb9405670c7791b21962a Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 28 Jun 2010 11:17:50 -0500 Subject: [PATCH] LINUX24: Remove BDI references afs_backing_dev_info was still referenced in a couple of places in the LINUX24 code. Although they are properly ifdef-guarded, these lines were never getting built, so remove them. Change-Id: I55ffca5dad99124b9d451925c9fcf15b7060bb9b Reviewed-on: http://gerrit.openafs.org/2273 Tested-by: Andrew Deason Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/LINUX24/osi_vfsops.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/afs/LINUX24/osi_vfsops.c b/src/afs/LINUX24/osi_vfsops.c index 9b4906f..e50a217 100644 --- a/src/afs/LINUX24/osi_vfsops.c +++ b/src/afs/LINUX24/osi_vfsops.c @@ -97,9 +97,6 @@ afs_read_super(struct super_block *sb, void *data, int silent) sb->s_blocksize_bits = 10; sb->s_magic = AFS_VFSMAGIC; sb->s_op = &afs_sops; /* Super block (vfs) ops */ -#if defined(HAVE_LINUX_BDI_INIT) - bdi_init(&afs_backing_dev_info); -#endif #if defined(MAX_NON_LFS) #ifdef AFS_64BIT_CLIENT #if !defined(MAX_LFS_FILESIZE) @@ -335,9 +332,6 @@ afs_put_super(struct super_block *sbp) #endif osi_linux_verify_alloced_memory(); -#if defined(HAVE_LINUX_BDI_INIT) - bdi_destroy(&afs_backing_dev_info); -#endif AFS_GUNLOCK(); sbp->s_dev = 0; -- 1.9.4