Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcf4aa5e authored by Daniel Rosenberg's avatar Daniel Rosenberg
Browse files

ANDROID: sdcardfs: Add missing path_put



"ANDROID: sdcardfs: Add GID Derivation to sdcardfs" introduced
an unbalanced pat_get, leading to storage space not being freed
after deleting a file until rebooting. This adds the missing path_put.

Signed-off-by: default avatarDaniel Rosenberg <drosen@google.com>
Bug: 34691169
Change-Id: Ia7ef97ec2eca2c555cc06b235715635afc87940e
parent 31d0e032
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -243,6 +243,7 @@ retry_deleg:
		if (error)
			pr_err("sdcardfs: Failed to touch up lower fs gid/uid.\n");
	}
	sdcardfs_put_lower_path(dentry, &path);
}

static int descendant_may_need_fixup(struct sdcardfs_inode_info *info, struct limit_search *limit) {