commit | 5bfe97d7382b5c1ec351c59a878e742c9fd73d38 | [log] [tgz] |
---|---|---|
author | Dominique Martinet <asmadeus@codewreck.org> | Thu Nov 19 15:11:04 2020 +0100 |
committer | Dominique Martinet <asmadeus@codewreck.org> | Thu Nov 19 17:22:28 2020 +0100 |
tree | 62f7f3d4153845588970d4906272879c31a2c829 | |
parent | ff5e72ebef41068789c93b0666cebde80cc8bd8c [diff] |
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: 6636b6dcc3db ("fs/9p: track open fids") Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>