diff options
author | Alan Cox <alc@FreeBSD.org> | 2009-06-02 08:02:27 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2009-06-02 08:02:27 +0000 |
commit | 3c33df624c8535b2cbe88a5cfcfce1509d853d9e (patch) | |
tree | 093f5d6b6fd20e3168e8b72f1bec881789e2f8e2 /usr.bin/window/ttf100.c | |
parent | 045e970615ca5e6d39ee2ad33fbbb7f3e53a5bff (diff) |
Correct a boundary case error in the management of a page's dirty bits by
shm_dotruncate() and vnode_pager_setsize(). Specifically, if the length of
a shared memory object or a file is truncated such that the length modulo
the page size is between 1 and 511, then all of the page's dirty bits were
cleared. Now, a dirty bit is cleared only if the corresponding block is
truncated in its entirety.
Notes
Notes:
svn path=/head/; revision=193303
Diffstat (limited to 'usr.bin/window/ttf100.c')
0 files changed, 0 insertions, 0 deletions