Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157901074
D43010.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D43010.id.diff
View Options
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c
--- a/sys/fs/tmpfs/tmpfs_subr.c
+++ b/sys/fs/tmpfs/tmpfs_subr.c
@@ -290,6 +290,8 @@
if (tm == NULL || vm_pager_has_page(obj, pindex, NULL, NULL) ||
tm->tm_pages_max == 0)
return (true);
+ if (tm->tm_pages_max == ULONG_MAX)
+ return (tmpfs_mem_avail() >= 1);
return (tm->tm_pages_max > atomic_load_long(&tm->tm_pages_used));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 27, 7:56 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33539504
Default Alt Text
D43010.id.diff (411 B)
Attached To
Mode
D43010: tmpfs: enforce size limit on writes when file system size is default
Attached
Detach File
Event Timeline
Log In to Comment