diff options
author | Patrick Caulfield <pcaulfie@redhat.com> | 2006-06-19 16:27:52 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-06-19 16:27:52 -0400 |
commit | 9f5aa2a921797ce6eb4542c7517915bd1d5fbd0b (patch) | |
tree | 69989c1aa9c05af3589e8b2b7c167a81626cb853 /fs/dlm/config.h | |
parent | b61dde795f120f5dca2c865a1860dd9ff76705a1 (diff) |
[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>
Diffstat (limited to 'fs/dlm/config.h')
0 files changed, 0 insertions, 0 deletions