Patch "fuse: replace remaining make_bad_inode() with fuse_make_bad()" has been added to the 6.7-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

    fuse: replace remaining make_bad_inode() with fuse_make_bad()

to the 6.7-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:
     fuse-replace-remaining-make_bad_inode-with-fuse_make.patch
and it can be found in the queue-6.7 subdirectory.

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



commit d9952ffd75586e87eb53c3f9cd65b030a8fdf894
Author: Miklos Szeredi <mszeredi@xxxxxxxxxx>
Date:   Wed Feb 28 16:50:49 2024 +0100

    fuse: replace remaining make_bad_inode() with fuse_make_bad()
    
    [ Upstream commit 82e081aebe4d9c26e196c8260005cc4762b57a5d ]
    
    fuse_do_statx() was added with the wrong helper.
    
    Fixes: d3045530bdd2 ("fuse: implement statx")
    Cc: <stable@xxxxxxxxxxxxxxx> # v6.6
    Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index d19cbf34c6341..d3bc463d9da76 100644
--- a/fs/fuse/dir.c
+++ b/fs/fuse/dir.c
@@ -1210,7 +1210,7 @@ static int fuse_do_statx(struct inode *inode, struct file *file,
 	if (((sx->mask & STATX_SIZE) && !fuse_valid_size(sx->size)) ||
 	    ((sx->mask & STATX_TYPE) && (!fuse_valid_type(sx->mode) ||
 					 inode_wrong_type(inode, sx->mode)))) {
-		make_bad_inode(inode);
+		fuse_make_bad(inode);
 		return -EIO;
 	}
 




[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