DragonFly commits List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: VFS accounting: use vq_vptomp() in kern_ftruncate()
commit d81e7fc1c5cd6a1eed86218be7c6970a3b54ccb8
Author: Francois Tigeot <ftigeot@wolfpond.org>
Date: Wed Mar 28 13:22:56 2012 +0200
VFS accounting: use vq_vptomp() in kern_ftruncate()
* Getting the needed struct mp* from curthread is not a good idea,
the chain of dependencies is complex and may cause problems.
* Use vq_vptomp() to get it from the vnode we're using instead.
Summary of changes:
sys/kern/vfs_syscalls.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d81e7fc1c5cd6a1eed86218be7c6970a3b54ccb8
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]