trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [1/4] git commit: step one: Remove ifdefs, fail. Step two: ???. Step three: RAW Disk Support on FreeBSD
Date Tue, 15 Jan 2013 15:37:48 GMT
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/a5f590b0
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a5f590b0
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a5f590b0

Branch: refs/heads/3.2.x
Commit: a5f590b0de50a086ca39a6111aca15436dbe2fc3
Parents: a7a18ef
Author: Igor Galić <i.galic@brainsware.org>
Authored: Fri Oct 12 19:07:34 2012 +0200
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Tue Jan 15 16:22:43 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a5f590b0/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:


Mime
View raw message