git: kernel -- tmpfs: Make tmpfs_read() MPSAFE.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Wed Jan 12 12:11:10 PST 2011


commit b403e8613477e2a138f8c00217710efbf9a18a27
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Tue Jan 11 21:46:31 2011 -0800

    kernel -- tmpfs: Make tmpfs_read() MPSAFE.
    
    tmpfs_read() no longer takes the MPlock or per-mount token via the VOP
    callbacks. It obtains the mount token itself around the uncached read path.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vfsops.c |    1 +
 sys/vfs/tmpfs/tmpfs_vnops.c  |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list