summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/teken/sequences
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-01-20 11:30:22 +0000
committerkib <kib@FreeBSD.org>2009-01-20 11:30:22 +0000
commitac57d6e717c7b5921f7a8c6d60d1c846ea1d04d5 (patch)
treedcb7f2dd79fbec6fe58af1c382774421b3b97268 /sys/dev/syscons/teken/sequences
parentcbb8defa10711f9b65be83f41f04cbabab84b5fc (diff)
downloadFreeBSD-src-ac57d6e717c7b5921f7a8c6d60d1c846ea1d04d5.zip
FreeBSD-src-ac57d6e717c7b5921f7a8c6d60d1c846ea1d04d5.tar.gz
When extending inode size, we call vnode_pager_setsize(), to have a
address space where to put vnode pages, and then call UFS_BALLOC(), to actually allocate new block and map it. When UFS_BALLOC() returns error, sometimes we forget to revert the vm object size increase, allowing for the pages that are not backed by the logical disk blocks. Revert vnode_pager_setsize() back when UFS_BALLOC() failed, for ffs_truncate() and ffs_write(). PR: 129956 Reviewed by: ups MFC after: 3 weeks
Diffstat (limited to 'sys/dev/syscons/teken/sequences')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud