aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorChengguang Xu <[email protected]>2019-05-06 11:01:02 +0000
committerGreg Kroah-Hartman <[email protected]>2019-05-20 07:18:18 +0000
commitf2dcb8841e6b155da098edae09125859ef7e853d (patch)
tree195ada5679b5809f0a6c65fd7eab2bafa58ecb8f /lib/test_stackinit.c
parentMerge tag 'iio-fixes-for-5.2a' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-f2dcb8841e6b155da098edae09125859ef7e853d.tar.gz
kernel-f2dcb8841e6b155da098edae09125859ef7e853d.zip
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 <[email protected]> Reviewed-by: Chao Yu <[email protected]> Reviewed-by: Gao Xiang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions