diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2024-02-28 18:50:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-03 16:28:25 +0300 |
commit | 3d304dd6b29d34968e7eaf336dd5693c1c7bc124 (patch) | |
tree | 9e53412f61780342ebce3af3330c291ab5022657 /fs/fuse | |
parent | bd169abd394e12c2dbbaae0e5ed0a528f60c32d6 (diff) | |
download | linux-3d304dd6b29d34968e7eaf336dd5693c1c7bc124.tar.xz |
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@vger.kernel.org> # v6.6
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index d707e6987da9..a4ad01a78e82 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; } |