From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Layton Subject: [PATCH 0/3] audit: minor audit cleanups Date: Fri, 26 Oct 2012 11:43:39 -0400 Message-ID: <1351266222-11107-1-git-send-email-jlayton@redhat.com> Cc: hch@infradead.org, eparis@redhat.com, linux-audit@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: viro@ZenIV.linux.org.uk Return-path: Received: from mail-yh0-f46.google.com ([209.85.213.46]:58620 "EHLO mail-yh0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933843Ab2JZPnu (ORCPT ); Fri, 26 Oct 2012 11:43:50 -0400 Received: by mail-yh0-f46.google.com with SMTP id m54so561437yhm.19 for ; Fri, 26 Oct 2012 08:43:49 -0700 (PDT) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: These patches are some cleanups suggested by HCH when he was reviewing my audit set that went into 3.7. They should introduce no behavioral changes. They're just cleanups for clarity's sake. I think the first patch in the series makes a lot of sense. The last two patches don't seem to provide as much improvement in clarity to me. I'm not opposed to including them if others think they do, so I'll post them here so we can debate their merits. These (or some subset of these) are probably appropriate for 3.8. Jeff Layton (3): audit: eliminate optional dentry argument to audit_copy_inode audit: break the setup of the audit_name out of audit_inode and into separate function audit: break up __audit_inode into two functions fs/open.c | 4 ++-- fs/xattr.c | 8 ++++---- include/linux/audit.h | 11 +++++++++- ipc/mqueue.c | 4 ++-- kernel/auditsc.c | 57 ++++++++++++++++++++++++++++++++++++--------------- 5 files changed, 59 insertions(+), 25 deletions(-) -- 1.7.11.7