diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2017-07-21 20:36:25 +0300 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-21 20:57:31 +0300 |
commit | 3953704fde7ec47f452ce6446fb7a0d5dc2f74df (patch) | |
tree | 8d7594335a5942ef8b280e14cafa5a999aa3fab8 /include/math-emu/op-1.h | |
parent | 9d5b86ac13c573795525ecac6ed2db39ab23e2a8 (diff) | |
download | linux-3953704fde7ec47f452ce6446fb7a0d5dc2f74df.tar.xz |
locks: restore a warn for leaked locks on close
When locks.c moved to using file_lock_context, the check for any locks that
were not released was moved from the __fput() to destroy_inode() path in
commit 8634b51f6ca2 ("locks: convert lease handling to file_lock_context").
This warning has been quite useful for catching bugs, particularly in NFS
where lock handling still sees some churn.
Let's bring back the warning for leaked locks on __fput, as this warning is
much more likely to be seen and reported by users.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'include/math-emu/op-1.h')
0 files changed, 0 insertions, 0 deletions