mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 23:00:21 +00:00
fuse: replace remaining make_bad_inode() with fuse_make_bad()
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>
This commit is contained in:
parent
d30ff89870
commit
82e081aebe
@ -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)) ||
|
||||
((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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user