GIT: unionfs2-2.6.27.y: Unionfs: support incremental versions
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:53 EDT 2010
commit 72263ef70ef6df8c954dba49c8c11990c828b824
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date: Tue Aug 7 18:51:20 2007 -0400
Unionfs: support incremental versions
Also: release Unionfs 2.1 (since code has gotten much more stable since 2.0)
Unionfs will now report its precise version number and the kernel it was
meant for, upon module loading. This is useful for maintenance purposes:
users can report the precise release number of Unionfs, and it also helps
prevent running older versions when newer ones are intended, or mixing
versions among supported kernels.
Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
diff --git a/fs/unionfs/Makefile b/fs/unionfs/Makefile
index 7c18a3c..9bb88f4 100644
--- a/fs/unionfs/Makefile
+++ b/fs/unionfs/Makefile
@@ -1,3 +1,7 @@
+UNIONFS_VERSION="2.1 (for 2.6.23-rc1)"
+
+EXTRA_CFLAGS += -DUNIONFS_VERSION=\"$(UNIONFS_VERSION)\"
+
obj-$(CONFIG_UNION_FS) += unionfs.o
unionfs-y := subr.o dentry.o file.o inode.o main.o super.o \
diff --git a/include/linux/union_fs.h b/include/linux/union_fs.h
index 9bc4e3b..d13eb48 100644
--- a/include/linux/union_fs.h
+++ b/include/linux/union_fs.h
@@ -12,7 +12,6 @@
#ifndef _LINUX_UNION_FS_H
#define _LINUX_UNION_FS_H
-#define UNIONFS_VERSION "2.0"
/*
* DEFINITIONS FOR USER AND KERNEL CODE:
*/
More information about the unionfs-cvs
mailing list