commit | bbb480ab05b2c148d8f8378660bfddd46761e86e | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Tue Feb 11 22:54:43 2020 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Mar 30 12:42:40 2020 +0200 |
tree | 549a60bba327156cb736fe011f3f49ee29333855 | |
parent | cb63483ad06d5ae57c76cf15ba0f51fad0900417 [diff] |
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>