summaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-07-23 12:12:13 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:05 -0400
commitb3c3da71ed88c06bc18a4d8919c6e4af3b933566 (patch)
tree2c872dc4d5e9a6fe104704f95c7acf920236396c /fs/btrfs/super.c
parent4881ee5a2e995c6a8999b56de70aa3834369d8ee (diff)
downloadlwn-b3c3da71ed88c06bc18a4d8919c6e4af3b933566.tar.gz
lwn-b3c3da71ed88c06bc18a4d8919c6e4af3b933566.zip
Btrfs: Add version strings on module load
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 5e28cf5c2e85..4cb6aac5122e 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -45,6 +45,7 @@
#include "print-tree.h"
#include "xattr.h"
#include "volumes.h"
+#include "version.h"
#define BTRFS_SUPER_MAGIC 0x9123683E
@@ -605,6 +606,8 @@ static int __init init_btrfs_fs(void)
err = register_filesystem(&btrfs_fs_type);
if (err)
goto unregister_ioctl;
+
+ printk(KERN_INFO "%s loaded\n", BTRFS_BUILD_VERSION);
return 0;
unregister_ioctl: