aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2017-04-18 22:49:38 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-25 11:28:22 +0200
commite1fde43d750e88dddcea93a94ae7b4761fa42913 (patch)
treee0b46fbaafb9d27a48d69145afd3939a78ddd8d0 /fs
parent35e9854dd0d2235d9a838c980df8610c3dc6c9f5 (diff)
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: Daniel Rosenberg <drosen@google.com> Bug: 37488099 Change-Id: I403e44ab7230f176e6df82f6adb4e5c82ce57f33
Diffstat (limited to 'fs')
-rwxr-xr-xfs/sdcardfs/derived_perm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sdcardfs/derived_perm.c b/fs/sdcardfs/derived_perm.c
index 116b6dc42..7d6eb9ff8 100755
--- a/fs/sdcardfs/derived_perm.c
+++ b/fs/sdcardfs/derived_perm.c
@@ -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);
}