[PATCH 10/16] dlm: make find_rsb() fail gracefully when namelen is too large

2008-02-06 Thread David Teigland
From: Al Viro <[EMAIL PROTECTED]> We *can* get there from receive_request() and dlm_recover_master_copy() with namelen too large if incoming request is invalid; BUG() from DLM_ASSERT() in allocate_rsb() is a bit excessive reaction to that and in case of dlm_recover_master_copy() we would actually

[PATCH 10/16] dlm: make find_rsb() fail gracefully when namelen is too large

2008-02-06 Thread David Teigland
From: Al Viro [EMAIL PROTECTED] We *can* get there from receive_request() and dlm_recover_master_copy() with namelen too large if incoming request is invalid; BUG() from DLM_ASSERT() in allocate_rsb() is a bit excessive reaction to that and in case of dlm_recover_master_copy() we would actually