tmp_suning_uos_patched/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 [DLM] Update DLM to the latest patch level 2006-01-20 08:47:07 +00:00
ast.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
config.c [DLM] PATCH 2/3 dlm: lowcomms close 2006-04-28 10:50:41 -04:00
config.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
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 [DLM] Update DLM to the latest patch level 2006-01-20 08:47:07 +00:00
dir.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
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 [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
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 [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
main.c [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
Makefile [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
member.c [DLM] PATCH 2/3 dlm: lowcomms close 2006-04-28 10:50:41 -04:00
member.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
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 [DLM] Update DLM to the latest patch level 2006-01-20 08:47:07 +00:00
midcomms.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
rcom.c [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
rcom.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
recover.c [GFS2] Cast 64 bit printk args to unsigned long long. 2006-05-24 09:21:30 -04:00
recover.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
recoverd.c [DLM] Update DLM to the latest patch level 2006-01-20 08:47:07 +00:00
recoverd.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
requestqueue.c [DLM] Update DLM to the latest patch level 2006-01-20 08:47:07 +00:00
requestqueue.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
util.c [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
util.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00