diff options
author | Patrick Caulfield <pcaulfie@redhat.com> | 2006-06-19 20:27:52 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-06-19 20:27:52 (GMT) |
commit | 9f5aa2a921797ce6eb4542c7517915bd1d5fbd0b (patch) | |
tree | 69989c1aa9c05af3589e8b2b7c167a81626cb853 /fs/lockd | |
parent | b61dde795f120f5dca2c865a1860dd9ff76705a1 (diff) | |
download | linux-fsl-qoriq-9f5aa2a921797ce6eb4542c7517915bd1d5fbd0b.tar.xz |
[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/lockd')
0 files changed, 0 insertions, 0 deletions