DragonFly commits List (threaded) for 2008-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/vfs/hammer hammer.h hammer_subs.c hammer_vnops.c
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@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]