aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2016-10-13 15:15:37 +0000
committerIlya Dryomov <[email protected]>2016-10-18 10:10:59 +0000
commit31ca58781019de191c7f520f0626ca76a88c1f6e (patch)
tree1cd859a416764babfed2f248a4edf3d26674d134 /scripts/gcc-plugins/gcc-common.h
parentceph: fix readdir vs fragmentation race (diff)
downloadkernel-31ca58781019de191c7f520f0626ca76a88c1f6e.tar.gz
kernel-31ca58781019de191c7f520f0626ca76a88c1f6e.zip
ceph: fix uninitialized dentry pointer in ceph_real_mount()
fs/ceph/super.c: In function ‘ceph_real_mount’: fs/ceph/super.c:818: warning: ‘root’ may be used uninitialized in this function If s_root is already valid, dentry pointer root is never initialized, and returned by ceph_real_mount(). This will cause a crash later when the caller dereferences the pointer. Fixes: ce2728aaa82bbeba ("ceph: avoid accessing / when mounting a subpath") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Yan, Zheng <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions