Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[stable10] Increment required only when encryption is enabled #28880
Increment to files in filecache is required only when
Signed-off-by: Sujith H firstname.lastname@example.org
When encryption is not enabled then no need to go through each and every step in encryption wrapper's fopen. Instead we can get another storage wrapper's fopen handler. Moreover this change also fixes the restore from trash which was broken.
Motivation and Context
This change would resolve the exceptions thrown when files are are moved from one storage to trash. Also it resolves the restore functionality of trash back to any storage.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes