mkdir fs/ceph
mkdir fs/ceph/crush
cp $cephtree/src/kernel/Makefile fs/ceph
+cp $cephtree/src/kernel/Kconfig fs/ceph
cp $cephtree/src/kernel/*.[ch] fs/ceph
cp $cephtree/src/kernel/crush/*.[ch] fs/ceph/crush
cp $cephtree/src/kernel/ceph.txt Documentation/filesystems
-git apply $cephtree/src/kernel/kbuild.patch
# build the patch sequence
git branch -D series_start
EOF
+git apply $cephtree/src/kernel/kbuild.patch
git add fs/ceph/Makefile
git add fs/ceph/Kconfig
git commit -F - <<EOF fs/Kconfig fs/ceph/Kconfig fs/Makefile fs/ceph/Makefile
source "fs/ncpfs/Kconfig"
source "fs/coda/Kconfig"
diff --git a/fs/Makefile b/fs/Makefile
-index 38bc735..624c5d2 100644
+index 38bc735..e11fa80 100644
--- a/fs/Makefile
+++ b/fs/Makefile
-@@ -122,3 +122,4 @@ obj-$(CONFIG_DEBUG_FS) += debugfs/
- obj-$(CONFIG_OCFS2_FS) += ocfs2/
- obj-$(CONFIG_BTRFS_FS) += btrfs/
+@@ -122,3 +122,4 @@ obj-$(CONFIG_DEBUG_FS) += debugfs/
+ obj-$(CONFIG_OCFS2_FS) += ocfs2/
+ obj-$(CONFIG_BTRFS_FS) += btrfs/
obj-$(CONFIG_GFS2_FS) += gfs2/
-+obj-$(CONFIG_CEPH_FS) += ceph/
++obj-$(CONFIG_CEPH_FS) += ceph/