[PATCH 23/27] xfs: remove the unused xfs_bufhash structure

Christoph Hellwig
2011-07-01T09:46:08Z

[-- Attachment #1: xfs-remove-bufhash --]
[-- Type: text/plain, Size: 686 bytes --]

Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: xfs/fs/xfs/linux-2.6/xfs_buf.h
===================================================================
--- xfs.orig/fs/xfs/linux-2.6/xfs_buf.h 2011-06-29 11:26:14.542550346 +0200
+++ xfs/fs/xfs/linux-2.6/xfs_buf.h 2011-06-29 13:50:40.648935352 +0200
@@ -91,11 +91,6 @@ typedef enum {
XBT_FORCE_FLUSH = 1,
} xfs_buftarg_flags_t;

-typedef struct xfs_bufhash {
- struct list_head bh_list;
- spinlock_t bh_lock;
-} xfs_bufhash_t;
-
typedef struct xfs_buftarg {
dev_t bt_dev;
struct block_device *bt_bdev;