[SRU][FOCAL][PATCH 1/2] UBUNTU: SAUCE: Revert "UBUNTU: SAUCE: shiftfs: fix dentry revalidation"
Seth Forshee
seth.forshee at canonical.com
Tue Jun 23 18:42:07 UTC 2020
On Tue, Jun 23, 2020 at 07:46:15PM +0200, Christian Brauner wrote:
> BugLink: https://bugs.launchpad.net/bugs/1884767
>
> With patch cfaa482afb97 ("UBUNTU: SAUCE: shiftfs: fix dentry revalidation")
> we tried to fix
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757 but it
> introduces a regression for shiftfs on btrfs users. Creating a btrfs
> subvolume, deleting it, and then trying to recreate it will cause EEXIST
> to be returned or the file be left in a half-created state. Faulty
> behavior such as this can be reproduced via:
>
> btrfs subvolume create my-subvol
> ls -al my-subvol
> btrfs subvolume delete my-subvol
>
> We thus need to revert this change restoring the old behavior.This will
> briefly resurface https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757
> which is fixed in a follow-up patch on top of this revert. We simply
> split out the minimal fix into a separate tiny patch.
>
> This reverts commit cfaa482afb97e3c05d020af80b897b061109d51f.
>
> Cc: Seth Forshee <seth.forshee at canonical.com>
> Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Acked-by: Seth Forshee <seth.forshee at canonical.com>
More information about the kernel-team
mailing list