]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
remove old push_to_kclient.pl
authorSage Weil <sage@inktank.com>
Thu, 25 Jul 2013 22:24:52 +0000 (15:24 -0700)
committerSage Weil <sage@inktank.com>
Thu, 25 Jul 2013 22:24:52 +0000 (15:24 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/push_to_kclient.pl [deleted file]

diff --git a/src/push_to_kclient.pl b/src/push_to_kclient.pl
deleted file mode 100755 (executable)
index f76a2bb..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-
-my $usage = "./push_to_client.pl <path_to_kernel_git_tree>\n";
-
-my $kernel = shift @ARGV || die $usage;
-die $usage unless -d $kernel;
-die $usage unless -e "$kernel/fs/ceph/README";
-
-die "not in a git tree" unless `cd $kernel && git rev-parse HEAD`;
-
-my $dir = '.';
-until (-d "$dir/.git") {
-    $dir .= "/..";
-}
-
-print "pushing changed shared files from $dir to $kernel...\n";
-my @files = split(/\n/, `cat $kernel/fs/ceph/README`);
-for (@files) {
-    next if /^#/;
-    my ($orig, $new) = split(/\s+/, $_);
-    #print "$dir/$orig -> $new\n";
-    system "cp -v $dir/$orig $kernel/$new";
-}
-
-print "pulling changed shared files from $kernel to $dir...\n";
-system "cp -v $kernel/fs/ceph/ioctl.h $dir/src/client/ioctl.h";
-system "cp -v $kernel/fs/btrfs/ioctl.h $dir/src/os/btrfs_ioctl.h";
-
-print "done.\n";
-