From: Patrick Caulfield Date: Mon, 19 Jun 2006 20:27:52 +0000 (-0400) Subject: [DLM] Fix potential conflict in DLM userland locks X-Git-Tag: v2.6.19-rc1~32^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5aa2a921797ce6eb4542c7517915bd1d5fbd0b;p=pandora-kernel.git [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 Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed