From: Andrew Deason Date: Mon, 28 Jun 2010 16:17:50 +0000 (-0500) Subject: LINUX24: Remove BDI references X-Git-Tag: openafs-devel-1_5_75~53 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8143e99a2c6ec137313cb9405670c7791b21962a;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afs/LINUX24/osi_vfsops.c b/src/afs/LINUX24/osi_vfsops.c index 9b4906f77..e50a217a6 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;