commit | 35c6d6942c966e6d74ea801d8b5007d7f900ce92 | [log] [tgz] |
---|---|---|
author | Chien Tung <chien.tin.tung@intel.com> | Sun Nov 02 21:37:35 2008 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Sun Nov 02 21:37:35 2008 -0800 |
tree | af2ecce7950e1f051033a0bd6dc7c6524d904f0c | |
parent | 5880ff19fa29466cb9d7e293710e6aebecfecdd1 [diff] |
RDMA/nes: Correct handling of PBL resources * Roll back allocated structures on failures. * Use GFP_ATOMIC instead of GFP_KERNEL since we are holding a lock. * Acquire nesadapter->pbl_lock when modifying PBL counters. * Decrement PBL counters on deallocation. Signed-off-by: Chien Tung <chien.tin.tung@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>