lkml.org 
[lkml]   [2014]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@poochiereds.net>
Cc: Steve French <sfrench@samba.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.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


\
 
 \ /
  Last update: 2014-05-17 11:21    [W:0.024 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site