diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-29 18:25:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-29 18:25:15 +0200 |
commit | 397a83ab978553ca2970ad1ccdbac0cdc732efd9 (patch) | |
tree | b23ad812c9c8490c63d216bab039f42c3e3345a8 /net/9p | |
parent | Merge tag 'v6.10-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff) | |
parent | 9p: add missing locking around taking dentry fid list (diff) | |
download | linux-397a83ab978553ca2970ad1ccdbac0cdc732efd9.tar.xz linux-397a83ab978553ca2970ad1ccdbac0cdc732efd9.zip |
Merge tag '9p-for-6.10-rc2' of https://github.com/martinetd/linux
Pull 9p fixes from Dominique Martinet:
"Two fixes headed to stable trees:
- a trace event was dumping uninitialized values
- a missing lock that was thought to have exclusive access, and it
turned out not to"
* tag '9p-for-6.10-rc2' of https://github.com/martinetd/linux:
9p: add missing locking around taking dentry fid list
net/9p: fix uninit-value in p9_client_rpc()
Diffstat (limited to 'net/9p')
-rw-r--r-- | net/9p/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index 00774656eeac..5cd94721d974 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -236,6 +236,8 @@ static int p9_fcall_init(struct p9_client *c, struct p9_fcall *fc, if (!fc->sdata) return -ENOMEM; fc->capacity = alloc_msize; + fc->id = 0; + fc->tag = P9_NOTAG; return 0; } |