VFS accounting: isolate the code to find the real mp
authorFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 22 Mar 2012 12:48:33 +0000 (13:48 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 22 Mar 2012 12:48:33 +0000 (13:48 +0100)
commitd1647ee91939f012f818c9c31b1fea343682d515
treecd15a593e6561dc96fcf29ddecc1e86cae14b644
parent753df37eb58e35e1d577c069e1975f131caf97d7
VFS accounting: isolate the code to find the real mp

* It was not specific to vop_write()

* Put it in a standalone vq_vptomp() function so that it may be easily
  used in other places
sys/kern/vfs_quota.c
sys/kern/vfs_vopops.c
sys/sys/vfs_quota.h