Commit b4f6c45d authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent aef87557
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -13,17 +13,12 @@ else
# Normal Makefile

KERNELDIR := /lib/modules/`uname -r`/build
all: version
all:
	$(MAKE) -C $(KERNELDIR) M=`pwd` modules

version:
	bash version.sh

modules_install:
	$(MAKE) -C $(KERNELDIR) M=`pwd` modules_install
clean:
	$(MAKE) -C $(KERNELDIR) M=`pwd` clean

tester:
	$(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
endif

fs/btrfs/version.h

0 → 100644
+4 −0
Original line number Diff line number Diff line
#ifndef __BTRFS_VERSION_H
#define __BTRFS_VERSION_H
#define BTRFS_BUILD_VERSION "Btrfs"
#endif