]> git.baikalelectronics.ru Git - kernel.git/commit
IMA: define readcount functions
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 2 Nov 2010 14:11:37 +0000 (10:11 -0400)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 10 Feb 2011 12:51:43 +0000 (07:51 -0500)
commit63b0d327b59ec6abb5a133fd3889baa27bef2262
tree5b5df6c3f421380d980fea21ccf055b9be364741
parent212e7c4464e1037f39794a032c62ad5e53150699
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