diff options
author | Yan, Zheng <zyan@redhat.com> | 2020-02-11 17:54:43 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-03-30 13:42:40 +0300 |
commit | bbb480ab05b2c148d8f8378660bfddd46761e86e (patch) | |
tree | 549a60bba327156cb736fe011f3f49ee29333855 /drivers/block | |
parent | cb63483ad06d5ae57c76cf15ba0f51fad0900417 (diff) | |
download | linux-bbb480ab05b2c148d8f8378660bfddd46761e86e.tar.xz |
ceph: check if file lock exists before sending unlock request
When a process exits, kernel closes its files. locks_remove_file()
is called to remove file locks on these files. locks_remove_file()
tries unlocking files even there is no file lock.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions