diff options
author | Andrea Parri <andrea.parri@amarulasolutions.com> | 2019-04-16 14:17:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 21:41:35 +0200 |
commit | 998267900cee901c5d1dfa029a6304d00acbc29f (patch) | |
tree | a2214323039127c20b8db1beb8c2093e42ba7e77 /drivers | |
parent | fs: kernfs: Corrected spelling mistake (diff) | |
download | linux-998267900cee901c5d1dfa029a6304d00acbc29f.tar.xz linux-998267900cee901c5d1dfa029a6304d00acbc29f.zip |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions