diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2019-07-31 23:57:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-02 13:52:05 +0200 |
commit | 8f7acdae2cd4b843d1fcb49e449cc7860556e3ef (patch) | |
tree | 8d8c116e47eeb57b32b5693d5f11a091e23295a3 /fs/erofs | |
parent | 9e794de573d7d54e3742628227e585bd90acc38a (diff) |
staging: erofs: kill all failure handling in fill_super()
.kill_sb() will do that instead in order to remove duplicated code.
Note that the initialzation of managed_cache is now moved
after s_root is assigned since it's more preferred to iput()
in .put_super() and all inodes should be evicted before
the end of generic_shutdown_super(sb).
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190731155752.210602-12-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/erofs')
0 files changed, 0 insertions, 0 deletions