Subject: CVS commit: src/sys/miscfs
To: None <source-changes@NetBSD.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 05/29/2004 23:48:08
Module Name:	src
Committed By:	wrstuden
Date:		Sat May 29 23:48:08 UTC 2004

Modified Files:
	src/sys/miscfs/genfs: layer_extern.h layer_vfsops.c
	src/sys/miscfs/nullfs: null_vfsops.c
	src/sys/miscfs/overlay: overlay_vfsops.c
	src/sys/miscfs/umapfs: umap_vfsops.c

Log Message:
Add layerfs_snapshot() as a handler routine for VFS_SNAPSHOT() calls
through a layered file system.

Note: we don't actually support snapshots through a layered file system,
and this routine returns an error. However we: 1) have clearly documented
what needs fixing (which isn't trivial to fix) and 2) if we do fix
this, all layered file systems can take advantage of it at once.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/miscfs/genfs/layer_extern.h
cvs rdiff -r1.18 -r1.19 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -r1.50 -r1.51 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -r1.25 -r1.26 src/sys/miscfs/overlay/overlay_vfsops.c
cvs rdiff -r1.47 -r1.48 src/sys/miscfs/umapfs/umap_vfsops.c

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