commit | fbe0456482aa5c482342735f342483a75ada8b96 | [log] [tgz] |
---|---|---|
author | Oleg Drokin <green@linuxhacker.ru> | Mon Jun 20 16:55:29 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 20 14:28:39 2016 -0700 |
tree | d36b733a1670b5b28ad2fb7ac728bef3cf3fab85 | |
parent | a6307ff9aaeda8691204dc0ea30cd3680d06f6b3 [diff] |
staging/lustre/osc: Fix reverted condition in osc_lock_weight When imprting clio simplification patch, the check for pbject got reversed by mistake when converting from if (obj == NULL) it somehow became (if (obj) which is obviously wrong, and so when it does hit, a crash was happening as result. Fix the condition and all if fine now. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>