Commit 82e081ae authored by Miklos Szeredi's avatar Miklos Szeredi

fuse: replace remaining make_bad_inode() with fuse_make_bad()

fuse_do_statx() was added with the wrong helper.

Fixes: d3045530 ("fuse: implement statx")
Cc: <stable@vger.kernel.org> # v6.6
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent d30ff898
...@@ -1214,7 +1214,7 @@ static int fuse_do_statx(struct inode *inode, struct file *file, ...@@ -1214,7 +1214,7 @@ static int fuse_do_statx(struct inode *inode, struct file *file,
if (((sx->mask & STATX_SIZE) && !fuse_valid_size(sx->size)) || if (((sx->mask & STATX_SIZE) && !fuse_valid_size(sx->size)) ||
((sx->mask & STATX_TYPE) && (!fuse_valid_type(sx->mode) || ((sx->mask & STATX_TYPE) && (!fuse_valid_type(sx->mode) ||
inode_wrong_type(inode, sx->mode)))) { inode_wrong_type(inode, sx->mode)))) {
make_bad_inode(inode); fuse_make_bad(inode);
return -EIO; return -EIO;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment