[GIT PULL] 9p fixes for 6.7-rc1

From: Dominique Martinet
Date: Fri Nov 03 2023 - 23:39:33 EST


The following changes since commit 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1:

Linux 6.6-rc7 (2023-10-22 12:11:21 -1000)

are available in the Git repository at:

https://github.com/martinetd/linux tags/9p-for-6.7-rc1

for you to fetch changes up to ce07087964208eee2ca2f9ee4a98f8b5d9027fe6:

9p/net: fix possible memory leak in p9_check_errors() (2023-10-27 12:44:13 +0900)

----------------------------------------------------------------
Bunch of small fixes:

- three W=1 warning fixes: the NULL -> "" replacement isn't trivial
but is serialized identically by the protocol layer and has been tested
- one syzbot/KCSAN datarace annotation where we don't care about users
messing with the fd they passed to mount -t 9p
- removing a declaration without implementation
- yet another race fix for trans_fd around connection close:
the 'err' field is also used in potentially racy calls and this
isn't complete, but it's better than what we have.
- and finally a theorical memory leak fix on serialization failure

----------------------------------------------------------------
Dominique Martinet (3):
9p: v9fs_listxattr: fix %s null argument warning
9p/net: xen: fix false positive printf format overflow warning
9p/fs: add MODULE_DESCIPTION
(^ I've just noticed DESCIPTION -> DESCRIPTION typo, but I guess it's
understandable enough and I'd rather not rebase the branch just before
sending the pull request (that last memory leak patch came in late
enough) -- please say if you'd rather I fix it up and I'll resend this)

Hangyu Hua (1):
9p/net: fix possible memory leak in p9_check_errors()

Marco Elver (1):
9p/trans_fd: Annotate data-racy writes to file::f_flags

Sishuai Gong (1):
9p/trans_fd: avoid sending req to a cancelled conn

Yue Haibing (1):
fs/9p: Remove unused function declaration v9fs_inode2stat()

fs/9p/v9fs.c | 1 +
fs/9p/v9fs_vfs.h | 1 -
fs/9p/xattr.c | 5 +++--
net/9p/client.c | 8 +++++---
net/9p/trans_fd.c | 21 ++++++++++++++++-----
net/9p/trans_xen.c | 15 +++++++--------
6 files changed, 32 insertions(+), 19 deletions(-)

--
Dominique Martinet | Asmadeus