audit: use atomic_t to simplify audit_serial()
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 13 Jun 2014 22:22:00 +0000 (18:22 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:37:52 +0000 (16:37 -0400)
commit01478d7d60f654419ba863856cad0446bcb73a59
tree3b8b9a1ef0b17e57234b79c92e8383d9a7944ee9
parent6eed9b261334932c742458edd64b7b9fd0b981a9
audit: use atomic_t to simplify audit_serial()

Since there is already a primitive to do this operation in the atomic_t, use it
to simplify audit_serial().

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
kernel/audit.c