[PATCH 1/1 linux-next] fs/cifs/inode.c: replace deprecated smp_mb__after_clear_bit
From: Fabian Frederick
Date: Sat May 17 2014 - 04:33:17 EST
based on
febdbfe8a91ce0
"arch: Prepare for smp_mb__{before,after}_atomic()"
Cc: Jeff Layton <jlayton@xxxxxxxxxxxxxxx>
Cc: Steve French <sfrench@xxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/