Files
linux-apfs/fs/ceph
Geert Uytterhoeven 31ca587810 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: ce2728aaa8 ("ceph: avoid accessing / when mounting a subpath")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-10-18 12:10:59 +02:00
..
2016-06-01 10:31:50 +02:00
2016-06-24 23:49:03 -04:00
2016-07-28 02:55:39 +02:00
2016-10-03 16:13:49 +02:00
2016-05-26 01:15:31 +02:00
2016-07-28 03:00:44 +02:00
2016-07-28 03:00:45 +02:00