fix: treat nfs4 mounts as soundless for directory refresh (#3800)

This commit is contained in:
三咲雅 misaki masa 2026-03-22 06:36:34 +08:00 committed by GitHub
parent c703332b4b
commit d4924ebcad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ impl Partition {
// and should be polled for changes.
pub fn soundless(&self) -> bool {
let b: &[u8] = self.fstype.as_ref().map_or(b"", |s| s.as_encoded_bytes());
matches!(b, b"fuse.rclone")
matches!(b, b"fuse.rclone" | b"nfs4")
}
#[rustfmt::skip]