OSDN Git Service

staging: erofs: add a full barrier in erofs_workgroup_unfreeze
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 22 Nov 2018 17:16:03 +0000 (01:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 09:53:08 +0000 (10:53 +0100)
commit948bbdb1818b7ad6e539dad4fbd2dd4650793ea9
tree8b5c00e68e50218959a19905a2ce3edbe906d9e2
parent73f5c66df3e26ab750cefcb9a3e08c71c9f79cad
staging: erofs: add a full barrier in erofs_workgroup_unfreeze

Just like other generic locks, insert a full barrier
in case of memory reorder.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/internal.h