Android: sdcardfs: Don't complain in fixup_lower_ownership
authorDaniel Rosenberg <drosen@google.com>
Wed, 19 Apr 2017 05:49:38 +0000 (22:49 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 1 May 2017 09:37:19 +0000 (15:07 +0530)
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

fs/sdcardfs/derived_perm.c

index 11cb402d34657b0939e45ff72a871b9b395831e9..cddfc79ea365e4e367bc826df36285ccece188d0 100644 (file)
@@ -252,7 +252,7 @@ retry_deleg:
                                goto retry_deleg;
                }
                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);
 }