blob: 18ecaade36243a2929c5054d8fc25c5faa2f70d4 [file] [log] [blame]
From foo@baz Tue Nov 19 09:15:12 PST 2013
Date: Tue, 19 Nov 2013 09:15:12 -0800
To: Greg KH <gregkh@linuxfoundation.org>
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: staging: exfat: hlist_for_each api change
hlist_for_each() has changed the api, dropping the unneeded parameter,
so fix up the exfat code to handle this change as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/staging/exfat/exfat_super.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -1403,12 +1403,11 @@ static inline unsigned long exfat_hash(l
static struct inode *exfat_iget(struct super_block *sb, loff_t i_pos) {
struct exfat_sb_info *sbi = EXFAT_SB(sb);
struct exfat_inode_info *info;
- struct hlist_node *node;
struct hlist_head *head = sbi->inode_hashtable + exfat_hash(i_pos);
struct inode *inode = NULL;
spin_lock(&sbi->inode_hash_lock);
- hlist_for_each_entry(info, node, head, i_hash_fat) {
+ hlist_for_each_entry(info, head, i_hash_fat) {
CHECK_ERR(info->vfs_inode.i_sb != sb);
if (i_pos != info->i_pos)