Module Name: src Committed By: perseant Date: Mon Aug 12 22:28:04 UTC 2024
Modified Files: src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs_balloc.c exfatfs_vfsops.c Log Message: Remove references to used but uninitialized variable exfatfs_bitmap_pool. To generate a diff of this commit: cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/fs/exfatfs/exfatfs_balloc.c cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/fs/exfatfs/exfatfs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/exfatfs/exfatfs_balloc.c diff -u src/sys/fs/exfatfs/exfatfs_balloc.c:1.1.2.4 src/sys/fs/exfatfs/exfatfs_balloc.c:1.1.2.5 --- src/sys/fs/exfatfs/exfatfs_balloc.c:1.1.2.4 Fri Aug 2 00:16:55 2024 +++ src/sys/fs/exfatfs/exfatfs_balloc.c Mon Aug 12 22:28:04 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: exfatfs_balloc.c,v 1.1.2.4 2024/08/02 00:16:55 perseant Exp $ */ +/* $NetBSD: exfatfs_balloc.c,v 1.1.2.5 2024/08/12 22:28:04 perseant Exp $ */ /*- * Copyright (c) 2022, 2024 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: exfatfs_balloc.c,v 1.1.2.4 2024/08/02 00:16:55 perseant Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exfatfs_balloc.c,v 1.1.2.5 2024/08/12 22:28:04 perseant Exp $"); #include <sys/types.h> #include <sys/buf.h> @@ -69,8 +69,6 @@ typedef struct uvnode uvnode_t; * Routines to create and manage a compressed cluster bitmap. */ -extern struct pool exfatfs_bitmap_pool; - /* * Convert a cluster ID into a disk address */ Index: src/sys/fs/exfatfs/exfatfs_vfsops.c diff -u src/sys/fs/exfatfs/exfatfs_vfsops.c:1.1.2.6 src/sys/fs/exfatfs/exfatfs_vfsops.c:1.1.2.7 --- src/sys/fs/exfatfs/exfatfs_vfsops.c:1.1.2.6 Fri Aug 2 00:16:55 2024 +++ src/sys/fs/exfatfs/exfatfs_vfsops.c Mon Aug 12 22:28:04 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: exfatfs_vfsops.c,v 1.1.2.6 2024/08/02 00:16:55 perseant Exp $ */ +/* $NetBSD: exfatfs_vfsops.c,v 1.1.2.7 2024/08/12 22:28:04 perseant Exp $ */ /*- * Copyright (c) 2022 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: exfatfs_vfsops.c,v 1.1.2.6 2024/08/02 00:16:55 perseant Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exfatfs_vfsops.c,v 1.1.2.7 2024/08/12 22:28:04 perseant Exp $"); struct vm_page; @@ -91,7 +91,6 @@ MALLOC_JUSTDEFINE(M_EXFATFSTMP, "EXFATFS static struct sysctllog *exfatfs_sysctl_log; struct pool exfatfs_xfinode_pool; -struct pool exfatfs_bitmap_pool; struct pool exfatfs_dirent_pool; extern const struct vnodeopv_desc exfatfs_vnodeop_opv_desc; @@ -196,7 +195,6 @@ exfatfs_init(void) pool_init(&exfatfs_xfinode_pool, sizeof(struct xfinode), 0, 0, 0, "exfatfsinopl", &pool_allocator_nointr, IPL_NONE); pool_sethiwat(&exfatfs_xfinode_pool, 1); - pool_sethiwat(&exfatfs_bitmap_pool, 1); pool_init(&exfatfs_dirent_pool, sizeof(struct exfatfs_dirent), 0, 0, 0, "exfatfsdirentpl", &pool_allocator_nointr, IPL_NONE); pool_sethiwat(&exfatfs_dirent_pool, 1);