r165: Remove outdated comments
authoryoe <yoe>
Tue, 6 Jun 2006 16:39:36 +0000 (16:39 +0000)
committeryoe <yoe>
Tue, 6 Jun 2006 16:39:36 +0000 (16:39 +0000)
configure.ac
nbd-server.c

index 568f661..15fb669 100644 (file)
@@ -67,10 +67,6 @@ case "`uname`" in
      *) AC_MSG_RESULT(no) ;;
 esac
 AC_MSG_CHECKING(where to find a working nbd.h)
-dnl We need to check for NBD_CMD_DISC, but that's part of an enum, it is not
-dnl #define'd. Therefore, we check for something which is differently #define'd
-dnl in the old or new versions, even if we don't really care about that.
-dnl This might break at some time, but it should work for now, so...
 AC_TRY_COMPILE([#define u32 int
 #define u64 int
 #include "nbd.h"
index 7229eb7..c21e3c6 100644 (file)
@@ -946,8 +946,8 @@ int splitexport(CLIENT* client) {
        }
        return 0;
 }
-int copyonwrite_prepare(CLIENT* client)
-{
+
+int copyonwrite_prepare(CLIENT* client) {
        off_t i;
        if ((client->difffilename = malloc(1024))==NULL)
                err("Failed to allocate string for diff file name");