diff options
Diffstat (limited to 'security')
| -rw-r--r-- | security/apparmor/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/file.c b/security/apparmor/file.c index 4285943f7260..d0afed9ebd0e 100644 --- a/security/apparmor/file.c +++ b/security/apparmor/file.c | |||
| @@ -496,7 +496,7 @@ static void update_file_ctx(struct aa_file_ctx *fctx, struct aa_label *label, | |||
| 496 | /* update caching of label on file_ctx */ | 496 | /* update caching of label on file_ctx */ |
| 497 | spin_lock(&fctx->lock); | 497 | spin_lock(&fctx->lock); |
| 498 | old = rcu_dereference_protected(fctx->label, | 498 | old = rcu_dereference_protected(fctx->label, |
| 499 | spin_is_locked(&fctx->lock)); | 499 | lockdep_is_held(&fctx->lock)); |
| 500 | l = aa_label_merge(old, label, GFP_ATOMIC); | 500 | l = aa_label_merge(old, label, GFP_ATOMIC); |
| 501 | if (l) { | 501 | if (l) { |
| 502 | if (l != old) { | 502 | if (l != old) { |
