diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-03-14 10:02:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-03-14 10:02:21 -0700 |
commit | 0f0910a100951204a48052ce62ca72915511ecc6 (patch) | |
tree | 7eecaf7e01e921db23027143851694dec6cdd748 | |
parent | 0be952c13be80ccdd3cb0d1ba25099de9468ac1b (diff) | |
parent | a9b1b455c519ee2fd6a4f9c069511e67b5be1ac4 (diff) | |
download | op-kernel-dev-0f0910a100951204a48052ce62ca72915511ecc6.zip op-kernel-dev-0f0910a100951204a48052ce62ca72915511ecc6.tar.gz |
Merge tag 'locks-v4.0-4' of git://git.samba.org/jlayton/linux
Pull file locking bugfix from Jeff Layton:
"Just a small fix for a potential problem in one of the lease
tracepoints"
* tag 'locks-v4.0-4' of git://git.samba.org/jlayton/linux:
locks: fix generic_delete_lease tracepoint to use victim pointer
-rw-r--r-- | fs/locks.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1728,7 +1728,7 @@ static int generic_delete_lease(struct file *filp, void *owner) break; } } - trace_generic_delete_lease(inode, fl); + trace_generic_delete_lease(inode, victim); if (victim) error = fl->fl_lmops->lm_change(victim, F_UNLCK, &dispose); spin_unlock(&ctx->flc_lock); |