commit 17dc5d8381f94cdddfe1a37aaf6fd2d337eb05cb
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sun Nov 18 17:37:25 2007 -0500
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 <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/Makefile b/fs/unionfs/Makefile
index dfbde56..200b66a 100644
--- a/fs/unionfs/Makefile
+++ b/fs/unionfs/Makefile
@@ -1,3 +1,7 @@
+UNIONFS_VERSION="2.1-odf (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 f311d03..be4031a 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:
*/
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs