You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2012/11/02 11:45:04 UTC

[2/3] git commit: step one: Remove ifdefs, fail. Step two: ???. Step three: RAW Disk Support on FreeBSD

step one: Remove ifdefs, fail. Step two: ???. Step three: RAW Disk Support on FreeBSD


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1b9fa981
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1b9fa981
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1b9fa981

Branch: refs/heads/master
Commit: 1b9fa981cde26ae475ab300015863813ded31a9d
Parents: 5e22828
Author: Igor Galić <i....@brainsware.org>
Authored: Fri Oct 12 19:07:34 2012 +0200
Committer: Igor Galić <i....@brainsware.org>
Committed: Fri Nov 2 11:36:15 2012 +0100

----------------------------------------------------------------------
 iocore/cache/Store.cc |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1b9fa981/iocore/cache/Store.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/Store.cc b/iocore/cache/Store.cc
index 1c05abe..35a7eed 100644
--- a/iocore/cache/Store.cc
+++ b/iocore/cache/Store.cc
@@ -447,7 +447,6 @@ Span::init(char *an, int64_t size)
 
   case S_IFBLK:{
   case S_IFCHR:
-#ifdef HAVE_RAW_DISK_SUPPORT // FIXME: darwin, freebsd
       struct disklabel dl;
       struct diskslices ds;
       if (ioctl(fd, DIOCGDINFO, &dl) < 0) {
@@ -499,12 +498,6 @@ Span::init(char *an, int64_t size)
           size = fsize;
         break;
       }
-#else /* !HAVE_RAW_DISK_SUPPORT */
-    Warning("Currently Raw Disks are not supported" );
-    err = "Currently Raw Disks are not supported";
-    goto Lfail;
-    break;
-#endif /* !HAVE_RAW_DISK_SUPPORT */
     }
   case S_IFDIR:
   case S_IFREG: