Messages in this thread | | | From | Jianyong Wu <> | Subject | [PATCH RFC 0/4] 9p: fix open-unlink-f*syscall bug | Date | Mon, 14 Sep 2020 11:37:50 +0800 |
| |
open-unlink-f*syscall bug is a well-known bug in 9p, we try to fix the bug in this patch set. I take Eric's and Greg's patches which constiute the 1/4 - 3/4 of this patch set as the main frame of the solution. In patch 4/4, I fix the fid race issue exists in Greg's patch.
Eric Van Hensbergen (1): fs/9p: fix create-unlink-getattr idiom
Greg Kurz (1): fs/9p: search open fids first
Jianyong Wu (2): fs/9p: track open fids 9p: fix race issue in fid contention.
fs/9p/fid.c | 72 +++++++++++++++++++++++++++++++++++------ fs/9p/fid.h | 25 +++++++++++--- fs/9p/vfs_dentry.c | 2 +- fs/9p/vfs_dir.c | 20 ++++++++++-- fs/9p/vfs_file.c | 3 +- fs/9p/vfs_inode.c | 52 +++++++++++++++++++++-------- fs/9p/vfs_inode_dotl.c | 44 ++++++++++++++++--------- fs/9p/vfs_super.c | 7 ++-- fs/9p/xattr.c | 18 ++++++++--- include/net/9p/client.h | 8 +++++ net/9p/client.c | 7 +++- 11 files changed, 206 insertions(+), 52 deletions(-)
-- 2.17.1
| |