CacheFiles: Update IMA counters when using dentry_open
authorMarc Dionne <marc.c.dionne@gmail.com>
Tue, 1 Dec 2009 14:09:24 +0000 (14:09 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Dec 2009 15:35:11 +0000 (07:35 -0800)
commit3350b2acdd39d23db52710045536b943fe38a35c
treecafa0bd2883411209fd99aeddb92550802510298
parentfa1dae4906982b5d896c07613b1fe42456133b1c
CacheFiles: Update IMA counters when using dentry_open

When IMA is active, using dentry_open without updating the
IMA counters will result in free/open imbalance errors when
fput is eventually called.

Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/cachefiles/rdwr.c