git: sys/vfs/tmpfs: Lock tmpfs member on ino allocation

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon May 4 12:32:08 PDT 2015


commit 23db337972550a5403043aa25e8ffd4592fd9c42
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue May 5 03:32:47 2015 +0900

    sys/vfs/tmpfs: Lock tmpfs member on ino allocation
    
    - tmp->tm_ino++;
      should be properly protected by TMPFS_LOCK/UNLOCK().

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/23db337972550a5403043aa25e8ffd4592fd9c42


-- 
DragonFly BSD source repository



More information about the Commits mailing list