summaryrefslogtreecommitdiffstats
path: root/fs/fuse/inode.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-04-19 13:16:10 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-04-19 13:16:10 -0700
commitdaa757767db7870e916f8853e70dcb87268c5c26 (patch)
tree4e21c8723b4266cd97994c77bd2a5b76244f5cf3 /fs/fuse/inode.c
parent25ec51ec86a75fbe27e08bf0887a2ecaeb04b2ef (diff)
parent09492cb45100cab909cabe164deb7cdc14e38634 (diff)
downloadlinux-stable-daa757767db7870e916f8853e70dcb87268c5c26.tar.gz
linux-stable-daa757767db7870e916f8853e70dcb87268c5c26.tar.bz2
linux-stable-daa757767db7870e916f8853e70dcb87268c5c26.zip
Merge tag 'fuse-fixes-6.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
Pull fuse fixes from Miklos Szeredi: - Fix two bugs in the new passthrough mode - Fix a statx bug introduced in v6.6 - Fix code documentation * tag 'fuse-fixes-6.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: cuse: add kernel-doc comments to cuse_process_init_reply() fuse: fix leaked ENOSYS error on first statx call fuse: fix parallel dio write on file open in passthrough mode fuse: fix wrong ff->iomode state changes from parallel dio write
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r--fs/fuse/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 3a5d88878335..99e44ea7d875 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -175,6 +175,7 @@ static void fuse_evict_inode(struct inode *inode)
}
}
if (S_ISREG(inode->i_mode) && !fuse_is_bad(inode)) {
+ WARN_ON(fi->iocachectr != 0);
WARN_ON(!list_empty(&fi->write_files));
WARN_ON(!list_empty(&fi->queued_writes));
}