git: kernel -- tmpfs: Convert tmpfs inode counter to per-mount field

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Fri May 18 20:38:08 PDT 2012


commit f7db522fa2f1fcbb76a20e92dd738d7ba2b7004b
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Fri May 18 20:33:56 2012 -0700

    kernel -- tmpfs: Convert tmpfs inode counter to per-mount field
    
    tmpfs used a global counter under a spinlock to set inode numbers. This
    should be a per-mount field, protected by the mount lock.

Summary of changes:
 sys/vfs/tmpfs/tmpfs.h        |    1 +
 sys/vfs/tmpfs/tmpfs_subr.c   |   16 ++++++----------
 sys/vfs/tmpfs/tmpfs_vfsops.c |    2 ++
 3 files changed, 9 insertions(+), 10 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list