Module Name: src Committed By: perseant Date: Wed Sep 11 00:27:54 UTC 2024
Modified Files: src/sys/fs/msdosfs: msdosfs_vnops.c Log Message: Move the comment intended to introduce msdosfs_fsync back above msdosfs_fsync (it has been above the wrong function since 1996). No functional change. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/fs/msdosfs/msdosfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/msdosfs/msdosfs_vnops.c diff -u src/sys/fs/msdosfs/msdosfs_vnops.c:1.112 src/sys/fs/msdosfs/msdosfs_vnops.c:1.113 --- src/sys/fs/msdosfs/msdosfs_vnops.c:1.112 Fri Aug 18 21:05:44 2023 +++ src/sys/fs/msdosfs/msdosfs_vnops.c Wed Sep 11 00:27:54 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: msdosfs_vnops.c,v 1.112 2023/08/18 21:05:44 mrg Exp $ */ +/* $NetBSD: msdosfs_vnops.c,v 1.113 2024/09/11 00:27:54 perseant Exp $ */ /*- * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. @@ -48,7 +48,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: msdosfs_vnops.c,v 1.112 2023/08/18 21:05:44 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: msdosfs_vnops.c,v 1.113 2024/09/11 00:27:54 perseant Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -707,12 +707,6 @@ msdosfs_update(struct vnode *vp, const s } } -/* - * Flush the blocks of a file to disk. - * - * This function is worthless for vnodes that represent directories. Maybe we - * could just do a sync if they try an fsync on a directory file. - */ int msdosfs_remove(void *v) { @@ -1394,6 +1388,12 @@ msdosfs_pathconf(void *v) /* NOTREACHED */ } +/* + * Flush the blocks of a file to disk. + * + * This function is worthless for vnodes that represent directories. Maybe we + * could just do a sync if they try an fsync on a directory file. + */ int msdosfs_fsync(void *v) {