Patch "fs/9p: Fix a datatype used with V9FS_DIRECT_IO" has been added to the 6.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    fs/9p: Fix a datatype used with V9FS_DIRECT_IO

to the 6.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     fs-9p-fix-a-datatype-used-with-v9fs_direct_io.patch
and it can be found in the queue-6.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit eeb6cae4b72849aea747b3845c16d229eb31a8d6
Author: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date:   Tue Apr 25 08:47:27 2023 +0200

    fs/9p: Fix a datatype used with V9FS_DIRECT_IO
    
    [ Upstream commit 95f41d87810083d8b3dedcce46a4e356cf4a9673 ]
    
    The commit in Fixes has introduced some "enum p9_session_flags" values
    larger than a char.
    Such values are stored in "v9fs_session_info->flags" which is a char only.
    
    Turn it into an int so that the "enum p9_session_flags" values can fit in
    it.
    
    Fixes: 6deffc8924b5 ("fs/9p: Add new mount modes")
    Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
    Reviewed-by: Dominique Martinet <asmadeus@xxxxxxxxxxxxx>
    Reviewed-by: Christian Schoenebeck <linux_oss@xxxxxxxxxxxxx>
    Signed-off-by: Eric Van Hensbergen <ericvh@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h
index 06a2514f0d882..698c43dd5dc86 100644
--- a/fs/9p/v9fs.h
+++ b/fs/9p/v9fs.h
@@ -108,7 +108,7 @@ enum p9_cache_bits {
 
 struct v9fs_session_info {
 	/* options */
-	unsigned char flags;
+	unsigned int flags;
 	unsigned char nodev;
 	unsigned short debug;
 	unsigned int afid;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux