- if (context->name_count == (AUDIT_NAMES - 1)) {
- printk(KERN_DEBUG
- "name_count maxed and losing entry [%d]=%s\n",
- context->name_count,
- context->names[context->name_count].name ?:
- "(null)");
- } else
- context->name_count++;
+ if (context->name_count == AUDIT_NAMES) {
+ printk(KERN_DEBUG
+ "name_count maxed and losing parent inode data: dev=%02x:%02x, inode=%lu",
+ MAJOR(parent->i_sb->s_dev),
+ MINOR(parent->i_sb->s_dev),
+ parent->i_ino);
+ return;
+ }
+ context->name_count++;