Skip to content
Commit f8b139e2 authored by Yang Yingliang's avatar Yang Yingliang Committed by Dominique Martinet
Browse files

fs: 9p: fix v9fs_file_open writeback fid error check

IS_ERR() and PTR_ERR() use wrong pointer, it should be
writeback_fid, fix it.

Link: http://lkml.kernel.org/r/20210330130632.1054357-1-yangyingliang@huawei.com
Fixes: 5bfe97d7

 ("9p: Fix writeback fid incorrectly being attached to dentry")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
[Dominique: adjusted commit summary]
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
parent 0dae5228
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment