cvs commit: src/sys/vfs/hammer hammer.h hammer_subs.c hammer_vnops.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 15 15:39:38 PDT 2008


dillon      2008/10/15 15:38:37 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_subs.c hammer_vnops.c 
  Log:
  Change hammer_str_to_tid() and its callers to restrict the format of
  strings after the '@@' portion of the filename.  Unknown formats are
  simply passed through, so for example you can create a file called 'x@@b'
  without it thinking it is 'x' with a @@b transaction id extension.
  
  The formats allowed are:
  
      @@0x%016llx[:%05d]
      @@-1[:%05d]
  
  Any other format is passed through and not treated specially.
  
  Reported-by: "Steve O'Hara-Smith" <steve at sohara.org>
  
  Revision  Changes    Path
  1.129     +3 -2      src/sys/vfs/hammer/hammer.h
  1.35      +48 -8     src/sys/vfs/hammer/hammer_subs.c
  1.101     +7 -2      src/sys/vfs/hammer/hammer_vnops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.128&r2=1.129&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_subs.c.diff?r1=1.34&r2=1.35&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.100&r2=1.101&f=u





More information about the Commits mailing list