diff options
| author | Ritesh Harjani <riteshh@codeaurora.org> | 2017-12-05 12:37:43 +0530 |
|---|---|---|
| committer | Ritesh Harjani <riteshh@codeaurora.org> | 2017-12-05 13:32:16 +0530 |
| commit | 3b15dc0f3c19ab2c1b9b8d5d21a75e089cce60ee (patch) | |
| tree | 3b6e8b7c38df691f69c896ba3fff30f476e5fa0d | |
| parent | 9d94fcc7696b628d218282bf4ee74aef1155956e (diff) | |
ANDROID: sdcardfs: Make WARN_RATELIMIT to pr_debug
With WARN_RATELIMIT lot of warning messages are
sometimes causing watchdog bite or spinlock lockup
(due to continuous logging). Thus change it to
pr_debug.
Change-Id: I2f0670bd20a39d289c105f9896e6fc509fb87de6
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
| -rw-r--r-- | fs/sdcardfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sdcardfs/inode.c b/fs/sdcardfs/inode.c index 85eb8ebb5372..1d9ef8229cd6 100644 --- a/fs/sdcardfs/inode.c +++ b/fs/sdcardfs/inode.c @@ -596,7 +596,7 @@ static const char *sdcardfs_follow_link(struct dentry *dentry, void **cookie) static int sdcardfs_permission_wrn(struct inode *inode, int mask) { - WARN_RATELIMIT(1, "sdcardfs does not support permission. Use permission2.\n"); + pr_debug("sdcardfs does not support permission. Use permission2.\n"); return -EINVAL; } |
