diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2009-06-26 14:05:27 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-06-29 08:59:10 +1000 |
commit | 94e5d714f604d4cb4cb13163f01ede278e69258b (patch) | |
tree | 1f7f50f5eddf74e6930eaf0384538549f263b8fe /fs/btrfs/file.c | |
parent | 79b854c549c62c54fa27f87e04465c01db889f8d (diff) | |
download | linux-stable-94e5d714f604d4cb4cb13163f01ede278e69258b.tar.gz linux-stable-94e5d714f604d4cb4cb13163f01ede278e69258b.tar.bz2 linux-stable-94e5d714f604d4cb4cb13163f01ede278e69258b.zip |
integrity: add ima_counts_put (updated)
This patch fixes an imbalance message as reported by J.R. Okajima.
The IMA file counters are incremented in ima_path_check. If the
actual open fails, such as ETXTBSY, decrement the counters to
prevent unnecessary imbalance messages.
Reported-by: J.R. Okajima <hooanon05@yahoo.co.jp>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions