Page MenuHomeFreeBSD

D48436.diff
No OneTemporary

D48436.diff

diff --git a/sys/sys/mount.h.filerev b/sys/sys/mount.h
--- a/sys/sys/mount.h.filerev
+++ b/sys/sys/mount.h
@@ -685,6 +685,8 @@
#define VFCF_SBDRY 0x01000000 /* Stop at Boundary: defer stop requests
to kernel->user (AST) transition */
#define VFCF_FILEMOUNT 0x02000000 /* allow mounting files */
+#define VFCF_FILEREVINC 0x04000000 /* va_filerev is incr. by one */
+#define VFCF_FILEREVCT 0x08000000 /* va_filerev is set to ctime */
typedef uint32_t fsctlop_t;
diff --git a/sys/ufs/ffs/ffs_vfsops.c.filerev b/sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c.filerev
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -117,7 +117,7 @@
.vfs_susp_clean = process_deferred_inactive,
};
-VFS_SET(ufs_vfsops, ufs, 0);
+VFS_SET(ufs_vfsops, ufs, VFCF_FILEREVINC);
MODULE_VERSION(ufs, 1);
static b_strategy_t ffs_geom_strategy;

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 11:37 AM (11 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15802197
Default Alt Text
D48436.diff (834 B)

Event Timeline