Skip to content

Commit

Permalink
Update Btrfs files for in-kernel usage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Mason committed Sep 25, 2008
1 parent aef8755 commit b4f6c45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 1 addition & 6 deletions fs/btrfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions fs/btrfs/version.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#ifndef __BTRFS_VERSION_H
#define __BTRFS_VERSION_H
#define BTRFS_BUILD_VERSION "Btrfs"
#endif

0 comments on commit b4f6c45

Please sign in to comment.