Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   pooka
Date:           Fri Nov 30 19:02:41 UTC 2007

Modified Files:
        src/lib/libpuffs: dispatcher.c null.c puffs.h puffs_ops.3 subr.c
        src/lib/librefuse: refuse.c
        src/share/examples/puffs/dtfs: dtfs_vfsops.c dtfs_vnops.c
        src/share/examples/puffs/icfs: icfs.c
        src/share/examples/puffs/rot13fs: rot13fs.c
        src/sys/rump/fs/lib/libp2k: p2k.c
        src/usr.sbin/puffs/mount_9p: fs.c nineproto.c ninepuffs.h node.c subr.c
        src/usr.sbin/puffs/mount_portal: puffs_portal.c
        src/usr.sbin/puffs/mount_psshfs: fs.c node.c psshfs.h subr.c
        src/usr.sbin/puffs/mount_sysctlfs: sysctlfs.c

Log Message:
Rototill.

Ok, ok, a few more words about it: stop holding puffs_cc as a holy
value and passing it around to almost every possible place (popquiz:
which kernel variable does this remind you of?).  Instead, pass
the natural choice, puffs_usermount, and fetch puffs_cc via
puffs_cc_getcc() only in routines which actually need it.  This
not only simplifies code, but (thanks to the introduction of
puffs_cc_getcc()) enables constructs which weren't previously sanely
possible, say layering as a curious example.

There's still a little to do on this front, but this was the major
fs interface blast.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/lib/libpuffs/dispatcher.c src/lib/libpuffs/null.c
cvs rdiff -r1.96 -r1.97 src/lib/libpuffs/puffs.h
cvs rdiff -r1.16 -r1.17 src/lib/libpuffs/puffs_ops.3
cvs rdiff -r1.20 -r1.21 src/lib/libpuffs/subr.c
cvs rdiff -r1.84 -r1.85 src/lib/librefuse/refuse.c
cvs rdiff -r1.22 -r1.23 src/share/examples/puffs/dtfs/dtfs_vfsops.c
cvs rdiff -r1.40 -r1.41 src/share/examples/puffs/dtfs/dtfs_vnops.c
cvs rdiff -r1.8 -r1.9 src/share/examples/puffs/icfs/icfs.c
cvs rdiff -r1.15 -r1.16 src/share/examples/puffs/rot13fs/rot13fs.c
cvs rdiff -r1.30 -r1.31 src/sys/rump/fs/lib/libp2k/p2k.c
cvs rdiff -r1.6 -r1.7 src/usr.sbin/puffs/mount_9p/fs.c
cvs rdiff -r1.8 -r1.9 src/usr.sbin/puffs/mount_9p/nineproto.c
cvs rdiff -r1.11 -r1.12 src/usr.sbin/puffs/mount_9p/ninepuffs.h
cvs rdiff -r1.18 -r1.19 src/usr.sbin/puffs/mount_9p/node.c
cvs rdiff -r1.5 -r1.6 src/usr.sbin/puffs/mount_9p/subr.c
cvs rdiff -r1.15 -r1.16 src/usr.sbin/puffs/mount_portal/puffs_portal.c
cvs rdiff -r1.14 -r1.15 src/usr.sbin/puffs/mount_psshfs/fs.c
cvs rdiff -r1.47 -r1.48 src/usr.sbin/puffs/mount_psshfs/node.c
cvs rdiff -r1.30 -r1.31 src/usr.sbin/puffs/mount_psshfs/psshfs.h
cvs rdiff -r1.37 -r1.38 src/usr.sbin/puffs/mount_psshfs/subr.c
cvs rdiff -r1.7 -r1.8 src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index