]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
UBUNTU: SAUCE: overlayfs: fix shitfs special-casing
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 6 May 2020 08:55:28 +0000 (10:55 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 7 May 2020 05:15:39 +0000 (01:15 -0400)
commitb3bdda24f1bc029c5e15671d678a448339fc5207
tree0b829677b22ac0de57a79340201fd8fa3b6fc719
parente7b1483ab857862aeee144eb9029611af834c65d
UBUNTU: SAUCE: overlayfs: fix shitfs special-casing

BugLink: https://bugs.launchpad.net/bugs/1876645
When I picked up Andrei's patch I ported it wrong. We need to initialize
realpath before dereferencing it obviously.

Cc: Stefan Bader <stefan.bader@canonical.com>
Cc: Seth Forshee <seth.forshee@canonical.com>
Cc: Kamal Mostafa <kamal@canonical.com>
Cc: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Cc: Andrei Vagin <avagin@gmail.com>
Fixes: 4e1f6efeedae ("UBUNTU: SAUCE: overlayfs: use shiftfs hacks only with shiftfs as underlay")
Link: https://bugs.launchpad.net/bugs/1857257
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/overlayfs/file.c