commit | 8ace5dfb983e89dbcfcb42ff25df6e4240c555bb | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Wed Nov 18 21:40:33 2015 +0800 |
committer | Jeff Layton <jeff.layton@primarydata.com> | Wed Nov 18 09:21:49 2015 -0500 |
tree | ace737a4a6603a5acf69027b997e2fd86ce84de1 | |
parent | 95ace75414f312f9a7b93d873f386987b92a5301 [diff] |
locks: use list_first_entry_or_null() Simplify the code with list_first_entry_or_null(). Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>