projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d30ff89
)
fuse: replace remaining make_bad_inode() with fuse_make_bad()
author
Miklos Szeredi
<mszeredi@redhat.com>
Wed, 28 Feb 2024 15:50:49 +0000
(16:50 +0100)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Tue, 5 Mar 2024 12:40:42 +0000
(13:40 +0100)
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>
fs/fuse/dir.c
patch
|
blob
|
history
diff --git
a/fs/fuse/dir.c
b/fs/fuse/dir.c
index 25c7c97f774b0c1457124270fbb13ea9571cb6fb..ce6a38c56d54fba1e4e97ffd03cc351c5db7f206 100644
(file)
--- a/
fs/fuse/dir.c
+++ b/
fs/fuse/dir.c
@@
-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;
}