android_kernel_xiaomi_sm8350/fs/dlm
David Teigland 8a358ca8e7 dlm: clear ast_type when removing from astqueue
The lkb_ast_type field indicates whether the lkb is on the astqueue list.
When clearing locks for a process, lkb's were being removed from the astqueue
list without clearing the field.  If release_lockspace then happened
immediately afterward, it could try to remove the lkb from the list a second
time.

Appears when process calls libdlm dlm_release_lockspace() which first
closes the ls dev triggering clear_proc_locks, and then removes the ls
(a write to control dev) causing release_lockspace().

Signed-off-by: David Teigland <teigland@redhat.com>
2008-01-30 11:04:42 -06:00
..
ast.c
ast.h
config.c
config.h
debug_fs.c
dir.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
dir.h
dlm_internal.h dlm: proper prototypes 2008-01-29 17:16:52 -06:00
Kconfig
lock.c dlm: clear ast_type when removing from astqueue 2008-01-30 11:04:42 -06:00
lock.h
lockspace.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
lockspace.h
lowcomms.c dlm: close othercons 2008-01-29 17:17:32 -06:00
lowcomms.h
lvb_table.h
main.c dlm: proper prototypes 2008-01-29 17:16:52 -06:00
Makefile
member.c
member.h
memory.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
memory.h dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
midcomms.c dlm: align midcomms message buffer 2008-01-30 11:04:25 -06:00
midcomms.h
netlink.c
rcom.c
rcom.h
recover.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
recover.h
recoverd.c
recoverd.h
requestqueue.c
requestqueue.h
user.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
user.h
util.c dlm: use fixed errno values in messages 2008-01-30 11:04:42 -06:00
util.h