commit | 998267900cee901c5d1dfa029a6304d00acbc29f | [log] [tgz] |
---|---|---|
author | Andrea Parri <andrea.parri@amarulasolutions.com> | Tue Apr 16 14:17:11 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 25 21:41:35 2019 +0200 |
tree | a2214323039127c20b8db1beb8c2093e42ba7e77 | |
parent | 0d1a393d61e44e2755eeff2e62fc8e91f8b296b6 [diff] |
kernfs: fix barrier usage in __kernfs_new_node() smp_mb__before_atomic() can not be applied to atomic_set(). Remove the barrier and rely on RELEASE synchronization. Fixes: ba16b2846a8c6 ("kernfs: add an API to get kernfs node from inode number") Cc: stable@vger.kernel.org Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>