Skip to content

Commit 82e081a

Browse files
author
Miklos Szeredi
committed
fuse: replace remaining make_bad_inode() with fuse_make_bad()
fuse_do_statx() was added with the wrong helper. Fixes: d304553 ("fuse: implement statx") Cc: <[email protected]> # v6.6 Signed-off-by: Miklos Szeredi <[email protected]>
1 parent d30ff89 commit 82e081a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/fuse/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ static int fuse_do_statx(struct inode *inode, struct file *file,
12141214
if (((sx->mask & STATX_SIZE) && !fuse_valid_size(sx->size)) ||
12151215
((sx->mask & STATX_TYPE) && (!fuse_valid_type(sx->mode) ||
12161216
inode_wrong_type(inode, sx->mode)))) {
1217-
make_bad_inode(inode);
1217+
fuse_make_bad(inode);
12181218
return -EIO;
12191219
}
12201220

0 commit comments

Comments
 (0)