Merge "Loosen the constraint for releasing a shared file." into lmp-dev