WSL2-Linux-Kernel/fs/kernfs
Andrea Parri 4c26f0f9d0 kernfs: fix barrier usage in __kernfs_new_node()
commit 998267900c upstream.

smp_mb__before_atomic() can not be applied to atomic_set().  Remove the
barrier and rely on RELEASE synchronization.

Fixes: ba16b2846a ("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>
2019-05-16 19:42:19 +02:00
..
Kconfig
Makefile
dir.c kernfs: fix barrier usage in __kernfs_new_node() 2019-05-16 19:42:19 +02:00
file.c kernfs: fix regression in kernfs_fop_write caused by wrong type 2018-02-16 20:22:59 +01:00
inode.c kernfs: introduce kernfs_node_id 2017-07-29 09:00:03 -06:00
kernfs-internal.h kernfs: don't set dentry->d_fsdata 2017-07-29 09:00:03 -06:00
mount.c fix cgroup_do_mount() handling of failure exits 2019-03-23 14:35:18 +01:00
symlink.c kernfs: Replace strncpy with memcpy 2018-12-08 13:03:35 +01:00