[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20140517103306.4ddd9b979c728d6969b6f9c4@skynet.be>
Date: Sat, 17 May 2014 10:33:06 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>, Jeff Layton <jlayton@...hat.com>,
Steve French <sfrench@...ba.org>
Subject: [PATCH 1/1 linux-next] fs/cifs/inode.c: replace deprecated
smp_mb__after_clear_bit
based on
febdbfe8a91ce0
"arch: Prepare for smp_mb__{before,after}_atomic()"
Cc: Jeff Layton <jlayton@...chiereds.net>
Cc: Steve French <sfrench@...ba.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
fs/cifs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 9ff8df8..a174605 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -1806,7 +1806,7 @@ cifs_revalidate_mapping(struct inode *inode)
}
clear_bit_unlock(CIFS_INO_LOCK, flags);
- smp_mb__after_clear_bit();
+ smp_mb__after_atomic();
wake_up_bit(flags, CIFS_INO_LOCK);
return rc;
--
1.8.4.5
--
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