summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-01-09 09:59:41 -0600
committerDavid Teigland <teigland@redhat.com>2008-01-30 11:04:42 -0600
commitc54e04b00fe027da30ada5af76b6749772dd644a (patch)
tree753945bb24638e9798220b2880650b4ba3211e40 /fs/file_table.c
parent46b43eed7018bab3a4e8c259eed27697b9170cb8 (diff)
downloadblackbird-op-linux-c54e04b00fe027da30ada5af76b6749772dd644a.tar.gz
blackbird-op-linux-c54e04b00fe027da30ada5af76b6749772dd644a.zip
dlm: validate messages before processing
There was some hit and miss validation of messages that has now been cleaned up and unified. Before processing a message, the new validate_message() function checks that the lkb is the appropriate type, process-copy or master-copy, and that the message is from the correct nodeid for the the given lkb. Other checks and assertions on the lkb type and nodeid have been removed. The assertions were particularly bad since they would panic the machine instead of just ignoring the bad message. Although other recent patches have made processing old message unlikely, it still may be possible for an old message to be processed and caught by these checks. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud