IMA: define readcount functions
commita5c96ebf1d71df0c5fb77ab58c9aeb307cf02372
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 2 Nov 2010 14:11:37 +0000 (2 10:11 -0400)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 10 Feb 2011 12:51:43 +0000 (10 07:51 -0500)
tree5b5df6c3f421380d980fea21ccf055b9be364741
parenta68a27b6f2354273bacc39c3dd06456edb202230
IMA: define readcount functions

Define i_readcount_inc/dec() functions to be called from the VFS layer.

Changelog:
- renamed iget/iput_readcount to i_readcount_inc/dec (Dave Chinner's suggestion)
- removed i_lock in iput_readcount() (based on comments:Dave Chinner,Eric Paris)

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: Eric Paris <eparis@redhat.com>
include/linux/fs.h