diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-09-24 11:05:53 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:41:59 -0400 |
commit | b4f6c45dfbf84f47c21f73f6370ad1292b0627fd (patch) | |
tree | a85c3a7b304e768f1f3321f39d0ae6c4402cc1ee | |
parent | aef8755711a28bb0ecde7780ae6613fcb62cf6f7 (diff) |
Update Btrfs files for in-kernel usage
btrfs had magic to put the chagneset id into a printk on module load.
This removes that from the Makefile and hardcodes the printk to print
"Btrfs"
Signed-off-by: Chris Mason <chris.mason@oracle.com>
-rw-r--r-- | fs/btrfs/Makefile | 7 | ||||
-rw-r--r-- | fs/btrfs/version.h | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index eb36ae981bdc..d5c28557fba9 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile | |||
@@ -13,17 +13,12 @@ else | |||
13 | # Normal Makefile | 13 | # Normal Makefile |
14 | 14 | ||
15 | KERNELDIR := /lib/modules/`uname -r`/build | 15 | KERNELDIR := /lib/modules/`uname -r`/build |
16 | all: version | 16 | all: |
17 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules | 17 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules |
18 | 18 | ||
19 | version: | ||
20 | bash version.sh | ||
21 | |||
22 | modules_install: | 19 | modules_install: |
23 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install | 20 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install |
24 | clean: | 21 | clean: |
25 | $(MAKE) -C $(KERNELDIR) M=`pwd` clean | 22 | $(MAKE) -C $(KERNELDIR) M=`pwd` clean |
26 | 23 | ||
27 | tester: | ||
28 | $(MAKE) -C $(KERNELDIR) M=`pwd` tree-defrag.o transaction.o sysfs.o super.o root-tree.o inode-map.o inode-item.o inode.o file-item.o file.o extent_map.o disk-io.o ctree.o dir-item.o extent-tree.o | ||
29 | endif | 24 | endif |
diff --git a/fs/btrfs/version.h b/fs/btrfs/version.h new file mode 100644 index 000000000000..9bf3946d5ef2 --- /dev/null +++ b/fs/btrfs/version.h | |||
@@ -0,0 +1,4 @@ | |||
1 | #ifndef __BTRFS_VERSION_H | ||
2 | #define __BTRFS_VERSION_H | ||
3 | #define BTRFS_BUILD_VERSION "Btrfs" | ||
4 | #endif | ||