fix: treat nfs4 mounts as soundless for directory refresh

This commit is contained in:
sxyazi 2026-03-22 06:35:25 +08:00
parent c703332b4b
commit c0eb0c935c
No known key found for this signature in database

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]