commit | 020ecc6f3229d0413e596a941b52263285c601f6 | [log] [tgz] |
---|---|---|
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | Sun Feb 21 11:34:48 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 25 22:11:01 2016 -0800 |
tree | 68c1f13719d6d5dcadb44016e88e5167223bfa0a | |
parent | b1752e864f2c2034fe0a7f9fe5f35f8eed06da20 [diff] |
staging: lustre: llite: Remove IS_ERR tests ll_iget() has been modified to always return NULL in case of error and not a ERR_PTR. Consequently, remove unnecessary IS_ERR tests as now ll_iget() function can never return a ERR_PTR. Additionally, reinitialising root and inode to NULL has been removed since they have already been tested for the same. Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>