Skip to content
Commit 5bfe97d7 authored by Dominique Martinet's avatar Dominique Martinet
Browse files

9p: Fix writeback fid incorrectly being attached to dentry

v9fs_dir_release needs fid->ilist to have been initialized for filp's
fid, not the inode's writeback fid's.

With refcounting this can be improved on later but this appears to fix
null deref issues.

Link: http://lkml.kernel.org/r/1605802012-31133-3-git-send-email-asmadeus@codewreck.org


Fixes: 6636b6dc ("fs/9p: track open fids")
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
parent ff5e72eb
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