diff options
author | Yan, Zheng <[email protected]> | 2020-02-11 22:54:43 +0800 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2020-03-30 12:42:40 +0200 |
commit | bbb480ab05b2c148d8f8378660bfddd46761e86e (patch) | |
tree | 549a60bba327156cb736fe011f3f49ee29333855 /lib/debugobjects.c | |
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" <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions