audit: use old_lock in audit_set_feature
authorGao feng <gaofeng@cn.fujitsu.com>
Fri, 1 Nov 2013 11:34:44 +0000 (19:34 +0800)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:30:19 +0000 (22:30 -0500)
commit4547b3bc43c64389ca4368be0edf1f90ae1b938d
treecfe1d6def81ecf361a655b7825c4f180b2e4dfc2
parentb6c50fe0be5b3a6be9c26f6941bc8c94cfaac1f8
audit: use old_lock in audit_set_feature

we already have old_lock, no need to calculate it again.

Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c