DragonFly commits List (threaded) for 2012-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: VFS quota: start enforcing limits
commit e5e8b92a13467ce0411ed8501f031903cc70709b
Author: Francois Tigeot <ftigeot@wolfpond.org>
Date: Thu Mar 22 14:33:43 2012 +0100
VFS quota: start enforcing limits
* Add a function vq_write_ok() to check if writing a specified amount
of data to a mounted filesystem is allowed.
* It only checks a global per mount-point limit for now.
* Enforce this limit check in vop_write().
Summary of changes:
sys/kern/vfs_quota.c | 18 +++++++++++++++++-
sys/kern/vfs_vopops.c | 25 +++++++++++++++++++------
sys/sys/vfs_quota.h | 4 +++-
3 files changed, 39 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e5e8b92a13467ce0411ed8501f031903cc70709b
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]