]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ovl: fix warnings caused by WRITE_ONCE
authorShan Hai <shan.hai@oracle.com>
Mon, 24 Jul 2017 09:10:51 +0000 (17:10 +0800)
committerShan Hai <shan.hai@oracle.com>
Fri, 4 Aug 2017 05:52:56 +0000 (13:52 +0800)
commit27e68e0d0f3e0ae42d719273e62bd2d0b38132da
treec33882ed128745945f4bc4aa05fb97a97dbff39c
parent4909a70e7cbca9f15cee2976edea971cc132822b
ovl: fix warnings caused by WRITE_ONCE

Orabug: 26401569

The commit 39b681f80(ovl: store real inode pointer in ->i_private)
adds a call to the WRITE_ONCE which generates "initialization makes pointer
from integer without a cast" warnings, fix it by coverting to the required type.

Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
fs/overlayfs/super.c