Skip to contentSkip to conversation

kill UDFFS_{DATE,VERSION}

PATCH New Adrian Bunk 1 participant 1 message Oct 22, 2007 UDF filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kill UDFFS_{DATE,VERSION}

Printing date and version of a driver makes sense if there's a maintainer who's maintaining and using these, but printing ancient version information only confuses users.

---

 fs/udf/super.c         |    3 +--
 include/linux/udf_fs.h |    3 ---
 2 files changed, 1 insertion(+), 5 deletions(-)

2b021a6f76507cf43c80d726d35fd1979cc95c6c

fs/udf/super.c +1 -2
index 4360c7a..64526c3 100644
@@ -1542,9 +1542,8 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent)
 	if (!silent) {
 		kernel_timestamp ts;
 		udf_time_to_stamp(&ts, UDF_SB_RECORDTIME(sb));
-		udf_info("UDF %s (%s) Mounting volume '%s', "
+		udf_info("UDF: Mounting volume '%s', "
 			 "timestamp %04u/%02u/%02u %02u:%02u (%x)\n",
-			 UDFFS_VERSION, UDFFS_DATE,
 			 UDF_SB_VOLIDENT(sb), ts.year, ts.month, ts.day, ts.hour, ts.minute,
 			 ts.typeAndTimezone);
 	}
include/linux/udf_fs.h +0 -3
index 36c684e..3116b03 100644
@@ -32,9 +32,6 @@
 #define UDF_PREALLOCATE
 #define UDF_DEFAULT_PREALLOC_BLOCKS	8
 
-#define UDFFS_DATE			"2004/29/09"
-#define UDFFS_VERSION			"0.9.8.1"
-
 #undef UDFFS_DEBUG
 
 #ifdef UDFFS_DEBUG