mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 15:12:59 +02:00
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: Daniel Rosenberg <drosen@google.com> Bug: 34691169 Change-Id: Ia7ef97ec2eca2c555cc06b235715635afc87940e
This commit is contained in:
parent
9068b415fe
commit
ddce85b238
|
|
@ -243,6 +243,7 @@ void fixup_lower_ownership(struct dentry* dentry, const char *name) {
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user