git: VFS quota: start enforcing limits

Francois Tigeot ftigeot at crater.dragonflybsd.org
Mon Apr 16 12:44:04 PDT 2012


commit e5e8b92a13467ce0411ed8501f031903cc70709b
Author: Francois Tigeot <ftigeot at 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





More information about the Commits mailing list