[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <fce3f2c8f8fdb27b9b2a09ce2a1f3765a13cfbad.1432085659.git.joe@perches.com>
Date: Tue, 19 May 2015 18:37:59 -0700
From: Joe Perches <joe@...ches.com>
To: linux-kernel@...r.kernel.org, Joern Engel <joern@...fs.org>,
Prasad Joshi <prasadjoshi.linux@...il.com>
Cc: logfs@...fs.org
Subject: [PATCH 11/12] logfs: Use DECLARE_BITMAP
Use the generic mechanism to declare a bitmap instead of unsigned long.
Signed-off-by: Joe Perches <joe@...ches.com>
---
fs/logfs/logfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h
index 5f09376..9b8d8a6 100644
--- a/fs/logfs/logfs.h
+++ b/fs/logfs/logfs.h
@@ -301,7 +301,7 @@ struct logfs_block {
struct page *page;
struct inode *inode;
struct logfs_transaction *ta;
- unsigned long alias_map[LOGFS_BLOCK_FACTOR / BITS_PER_LONG];
+ DECLARE_BITMAP(alias_map, LOGFS_BLOCK_FACTOR);
struct logfs_block_ops *ops;
int full;
int partial;
--
2.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists