Skip to content
Snippets Groups Projects
Commit 380bc91c authored by Daniel Rosenberg's avatar Daniel Rosenberg Committed by Patrick Tjin
Browse files

Android: sdcardfs: Don't complain in fixup_lower_ownership


Not all filesystems support changing the owner of a file.
We shouldn't complain if it doesn't happen.

Signed-off-by: default avatarDaniel Rosenberg <drosen@google.com>
Bug: 37488099
Change-Id: I403e44ab7230f176e6df82f6adb4e5c82ce57f33
parent b8414cf7
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,7 @@ void fixup_lower_ownership(struct dentry *dentry, const char *name)
error = notify_change2(path.mnt, path.dentry, &newattrs);
mutex_unlock(&inode->i_mutex);
if (error)
pr_err("sdcardfs: Failed to touch up lower fs gid/uid.\n");
pr_debug("sdcardfs: Failed to touch up lower fs gid/uid for %s\n", name);
}
sdcardfs_put_lower_path(dentry, &path);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment