Source-Changes archive

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

CVS commit: src/sys/miscfs/kernfs



Module Name:    src
Committed By:   bouyer
Date:           Tue Mar 14 20:47:52 UTC 2006

Modified Files:
        src/sys/miscfs/kernfs: kernfs.h kernfs_vnops.c

Log Message:
Allow optionnal /kern regular files to have custom read methods, the same
way writes are handled: Add KERNFS_XREAD and KERNFS_FILEOP_WRITE files
operations definitions to kfsfileop, a xread function pointer to
kernfs_fileop, rename kernfs_read to kernfs_default_xread and add a
kernfs_read calling kernfs_try_fileop(KERNFS_FILEOP_READ).

Proposed on tech-kern on Feb 18 2006.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 src/sys/miscfs/kernfs/kernfs.h
cvs rdiff -r1.117 -r1.118 src/sys/miscfs/kernfs/kernfs_vnops.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