WIP: update tizen_qemu_defconfig
[platform/kernel/linux-starfive.git] / fs / namespace.c
index df137ba..e04a9e9 100644 (file)
@@ -4180,9 +4180,9 @@ out:
        unlock_mount_hash();
 
        if (kattr->propagation) {
-               namespace_unlock();
                if (err)
                        cleanup_group_ids(mnt, NULL);
+               namespace_unlock();
        }
 
        return err;