aboutsummaryrefslogtreecommitdiffstats
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)
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 @@
45#include "print-tree.h" 45#include "print-tree.h"
46#include "xattr.h" 46#include "xattr.h"
47#include "volumes.h" 47#include "volumes.h"
48#include "version.h"
48 49
49#define BTRFS_SUPER_MAGIC 0x9123683E 50#define BTRFS_SUPER_MAGIC 0x9123683E
50 51
@@ -605,6 +606,8 @@ static int __init init_btrfs_fs(void)
605 err = register_filesystem(&btrfs_fs_type); 606 err = register_filesystem(&btrfs_fs_type);
606 if (err) 607 if (err)
607 goto unregister_ioctl; 608 goto unregister_ioctl;
609
610 printk(KERN_INFO "%s loaded\n", BTRFS_BUILD_VERSION);
608 return 0; 611 return 0;
609 612
610unregister_ioctl: 613unregister_ioctl: