android_kernel_xiaomi_sm8350/fs/dlm
Patrick Caulfield 9f5aa2a921 [DLM] Fix potential conflict in DLM userland locks
Just spotted this one. The lockinfo structs are hashed by lockid but into a
global structure. So that if there are two lockspaces with the same lockid all
hell breaks loose. I'm not exactly sure what will happen but it can't be good!

The attached patch moves the lockinfo_idr into the user_ls structure so that
lockids are localised.

patrick

Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-06-19 16:27:52 -04:00
..
ast.c
ast.h
config.c [DLM] PATCH 2/3 dlm: lowcomms close 2006-04-28 10:50:41 -04:00
config.h
debug_fs.c [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
device.c [DLM] Fix potential conflict in DLM userland locks 2006-06-19 16:27:52 -04:00
dir.c
dir.h
dlm_internal.h [DLM] fix grant_after_purge softlockup 2006-05-02 13:34:03 -04:00
Kconfig [DLM] Update Kconfig in the light of comments on lkml 2006-04-25 13:23:09 -04:00
lock.c [DLM] fix grant_after_purge softlockup 2006-05-02 13:34:03 -04:00
lock.h [DLM] fix grant_after_purge softlockup 2006-05-02 13:34:03 -04:00
lockspace.c [DLM] PATCH 3/3 dlm: show recover state 2006-04-28 10:51:53 -04:00
lockspace.h
lowcomms.c [DLM] init rwsem earlier 2006-06-19 09:15:38 -04:00
lowcomms.h [DLM] PATCH 2/3 dlm: lowcomms close 2006-04-28 10:50:41 -04:00
lvb_table.h
main.c
Makefile
member.c [DLM] PATCH 2/3 dlm: lowcomms close 2006-04-28 10:50:41 -04:00
member.h
memory.c [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
memory.h [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
midcomms.c
midcomms.h
rcom.c [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
rcom.h
recover.c [GFS2] Cast 64 bit printk args to unsigned long long. 2006-05-24 09:21:30 -04:00
recover.h
recoverd.c
recoverd.h
requestqueue.c
requestqueue.h
util.c [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
util.h