Skip to content

Commit

Permalink
fix: disable warning
Browse files Browse the repository at this point in the history
Change-Id: I19e5020b02304f58382eee4d6612d22026d8d15e
  • Loading branch information
zccrs committed May 11, 2018
1 parent e60e3fa commit 7a6d87c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernelmod/vfs_change.c
Expand Up @@ -229,9 +229,9 @@ static void remove_oldest(void)
while (total_memory > MAX_VFS_CHANGE_MEM && !list_empty(&vfs_changes)) {
list_for_each_safe(p, next, &vfs_changes) {
vfs_change* vc = list_entry(p, vfs_change, list);
if (printk_ratelimit())
pr_warn("vfs-change discarded[%d]: %lu %s, %s, %s\n",
vc->size, vc->ts.tv_sec, action_names[vc->action], vc->src, vc->dst);
// if (printk_ratelimit())
// pr_warn("vfs-change discarded[%d]: %lu %s, %s, %s\n",
// vc->size, vc->ts.tv_sec, action_names[vc->action], vc->src, vc->dst);
REMOVE_ENTRY(p, vc);
discarded++;
break;
Expand Down

0 comments on commit 7a6d87c

Please sign in to comment.