git: devfs - Fix FREEBLKS

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit bf390b25e6ef64c1fa868d8d60845d9627b40472 Author: Alex Hornung <ahornung@gmail.com> Date: Fri Nov 19 14:49:17 2010 +0000 devfs - Fix FREEBLKS * Since vn and md were changed to use the disk subsystem they essentially haven't been able to receive any BUF_CMD_FREEBLKS since their D_CANFREE flag was not propagated through the disk subsystem. * Fix this by making the flag specific to the device via SI_CANFREE and propagating the D_CANFREE of even *underlying*/covered devices to the top-level device's SI_CANFREE. Summary of changes: sys/sys/conf.h | 1 + sys/vfs/devfs/devfs_core.c | 12 ++++++++++++ sys/vfs/devfs/devfs_vnops.c | 2 +- 3 files changed, 14 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bf390b25e6ef64c1fa868d8d60845d9627b40472 -- DragonFly BSD source repository
文章代碼(AID): #1CvoLp5C (DFBSD_commit)