>From bc76477a624ad0551b4fca0b87931f0a70f1d92f Mon Sep 17 00:00:00 2001
From: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
Date: Thu, 12 May 2011 14:59:37 -0700
Subject: [PATCH 1/3] Initial NFSRDMA cleanup. We don't need to checkout all of nfs, only
 xprtrdma.

Committed-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
---
 ofed_scripts/checkout_files            |    7 +------
 ofed_scripts/nfs_header_checkout_files |   22 ----------------------
 ofed_scripts/ofed_checkout.sh          |   10 ----------
 3 files changed, 1 insertions(+), 38 deletions(-)
 delete mode 100644 ofed_scripts/nfs_header_checkout_files

diff --git a/ofed_scripts/checkout_files b/ofed_scripts/checkout_files
index 15de37f..232e030 100644
--- a/ofed_scripts/checkout_files
+++ b/ofed_scripts/checkout_files
@@ -9,11 +9,6 @@ drivers/scsi/iscsi_tcp.c
 drivers/scsi/iscsi_tcp.h
 drivers/scsi/libiscsi.c
 drivers/scsi/scsi_transport_iscsi.c
-fs/exportfs/
-fs/lockd/
-fs/nfs/
-fs/nfs_common/
-fs/nfsd/
 include/linux/mlx4/
 include/rdma/
 include/scsi/iscsi_if.h
@@ -28,5 +23,5 @@ lib/klist.c
 net/rds/
 include/linux/rds.h
 include/linux/socket.h
-net/sunrpc/
+net/sunrpc/xprtrdma
 ofed_scripts/
diff --git a/ofed_scripts/nfs_header_checkout_files b/ofed_scripts/nfs_header_checkout_files
deleted file mode 100644
index 29dd7ff..0000000
--- a/ofed_scripts/nfs_header_checkout_files
+++ /dev/null
@@ -1,22 +0,0 @@
-include/linux/exportfs.h
-include/linux/lockd/
-include/linux/nfs.h
-include/linux/nfs2.h
-include/linux/nfs3.h
-include/linux/nfs4.h
-include/linux/nfs4_acl.h
-include/linux/nfs4_mount.h
-include/linux/nfs_fs.h
-include/linux/nfs_fs_i.h
-include/linux/nfs_fs_sb.h
-include/linux/nfs_idmap.h
-include/linux/nfs_iostat.h
-include/linux/nfs_mount.h
-include/linux/nfs_page.h
-include/linux/nfs_xdr.h
-include/linux/nfsacl.h
-include/linux/nfsd/
-include/linux/nfsd_idmap.h
-include/linux/pipe_fs_i.h
-include/linux/splice.h
-include/linux/sunrpc/
diff --git a/ofed_scripts/ofed_checkout.sh b/ofed_scripts/ofed_checkout.sh
index 7766f98..fa91d08 100755
--- a/ofed_scripts/ofed_checkout.sh
+++ b/ofed_scripts/ofed_checkout.sh
@@ -29,16 +29,6 @@ xex()
 # branch defaults to ofed_kernel
 branch=${1:-ofed_kernel}
 
-#checkout nfs headerfiles and put them in their new location
-if [ ! -e ofed_scripts/nfs_header_checkout_files ]; then
-	ex git checkout ${branch} ofed_scripts/nfs_header_checkout_files
-fi
-
-xex xargs -rt git ls-tree -r --name-only ${branch} <ofed_scripts/nfs_header_checkout_files |
-	xex xargs -rt git checkout ${branch}
-
-ex mv include include-nfs
-
 # make sure we have the list of all the other files and dirs
 if [ ! -e ofed_scripts/checkout_files ]; then
 	ex git checkout ${branch} ofed_scripts/checkout_files
-- 
1.7.3.4

