Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144544009
D54258.1775335326.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
400 B
Referenced Files
None
Subscribers
None
D54258.1775335326.diff
View Options
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c
--- a/sys/fs/tmpfs/tmpfs_vnops.c
+++ b/sys/fs/tmpfs/tmpfs_vnops.c
@@ -1893,7 +1893,8 @@
TMPFS_UNLOCK(tmp);
return (false);
}
- if (tmp->tm_ea_memory_inuse + size > tmp->tm_ea_memory_max) {
+ if ((int64_t)tmp->tm_ea_memory_inuse + size >
+ (int64_t)tmp->tm_ea_memory_max) {
TMPFS_UNLOCK(tmp);
return (false);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 8:42 PM (9 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28261327
Default Alt Text
D54258.1775335326.diff (400 B)
Attached To
Mode
D54258: tmpfs: Fix comparison in tmpfs_extattr_update_mem()
Attached
Detach File
Event Timeline
Log In to Comment