diff options
author | phk <phk@FreeBSD.org> | 2004-10-29 09:33:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-29 09:33:32 +0000 |
commit | 12ca46b3fce383c1db9e62c046b3d12002e45219 (patch) | |
tree | 0fa5d966930f5168109c1fdc9e4bbfddb1283902 /sys/sys/bufobj.h | |
parent | 269b7a298a7c7c987a4664c180765ddb92182b08 (diff) | |
download | FreeBSD-src-12ca46b3fce383c1db9e62c046b3d12002e45219.zip FreeBSD-src-12ca46b3fce383c1db9e62c046b3d12002e45219.tar.gz |
Give the bufobj a private __bo_vnode for now to keep the syncer floating [1]
At some point later the syncer will unlearn about vnodes and the filesystems
method called by the syncer will know enough about what's in bo_private to
do the right thing.
[1] Ok, I know, but I couldn't resist the pun.
Diffstat (limited to 'sys/sys/bufobj.h')
-rw-r--r-- | sys/sys/bufobj.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/bufobj.h b/sys/sys/bufobj.h index 0a2f915..b41ed0c 100644 --- a/sys/sys/bufobj.h +++ b/sys/sys/bufobj.h @@ -87,6 +87,11 @@ struct bufobj { struct vm_object *bo_object; /* v Place to store VM object */ LIST_ENTRY(bufobj) bo_synclist; /* S dirty vnode list */ void *bo_private; /* private pointer */ + struct vnode *__bo_vnode; /* + * XXX: This vnode pointer is here + * XXX: only to keep the syncer working + * XXX: for now. + */ }; /* |