Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F3667215
Masterwork From Distant Lands
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
cem
Aug 21 2018, 9:48 PM
2018-08-21 21:48:26 (UTC+0)
Size
725 B
Referenced Files
None
Subscribers
None
Masterwork From Distant Lands
View Options
Index: vfs_bio.c
===================================================================
--- vfs_bio.c (revision 338036)
+++ vfs_bio.c (working copy)
@@ -4188,6 +4188,7 @@
}
return;
}
+ newbsize = round_page(newbsize);
vm_hold_free_pages(bp, newbsize);
bufspace_adjust(bp, newbsize);
}
@@ -4218,6 +4219,7 @@
bufmallocadjust(bp, newbsize);
return;
}
+ newbsize = round_page(newbsize);
/*
* If the buffer is growing on its other-than-first
@@ -4272,8 +4274,6 @@
newbsize = roundup2(size, DEV_BSIZE);
if ((bp->b_flags & B_VMIO) == 0) {
- if ((bp->b_flags & B_MALLOC) == 0)
- newbsize = round_page(newbsize);
/*
* Just get anonymous memory from the kernel. Don't
* mess with B_CACHE.
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1531457
Default Alt Text
Masterwork From Distant Lands (725 B)
Attached To
Mode
P214 Masterwork From Distant Lands
Attached
Detach File
Event Timeline
Log In to Comment