git: tmpfs - Fix arbitrary maximum file size limitation

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Dec 12 14:49:52 PST 2017


commit b2394163672591e9926c9cb1e2ccb6a6a286c16f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Dec 12 14:45:04 2017 -0800

    tmpfs - Fix arbitrary maximum file size limitation
    
    * tmpfs's maxfilesize was limited to the original tmpfs mount
      storage limit, prior to argument overrides.  In addition,
      the -f argument override would not increase the maxfilesize
      limit beyond the original storage limit anyway.
    
    * Remove this limit calculation entirely.  Instead the limit
      is based on the storage limit which can be optioned at mount
      time.
    
    * Fixes expectations when tmpfs is used to hold just a few (or
      even just one) file.
    
    Reported-by: kerma

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vfsops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2394163672591e9926c9cb1e2ccb6a6a286c16f


-- 
DragonFly BSD source repository


More information about the Commits mailing list