diff options
author | Chengguang Xu <cgxu519@gmail.com> | 2019-05-06 14:01:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 10:18:18 +0300 |
commit | f2dcb8841e6b155da098edae09125859ef7e853d (patch) | |
tree | 195ada5679b5809f0a6c65fd7eab2bafa58ecb8f /drivers/fpga/zynq-fpga.c | |
parent | 083a685c2ee035dd6c47242ea2de6d9eed3bf929 (diff) | |
download | linux-f2dcb8841e6b155da098edae09125859ef7e853d.tar.xz |
staging: erofs: set sb->s_root to NULL when failing from __getname()
Set sb->s_root to NULL when failing from __getname(),
so that we can avoid double dput and unnecessary operations
in generic_shutdown_super().
Signed-off-by: Chengguang Xu <cgxu519@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions