X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Fcopy.c;h=d807520a9a7b4eb69628b28871fb712af83acb32;hb=c5729796b4ec5e5f4800bfe6bd9ceb5c2da81fbe;hp=cff446d9f0595e58e5675a7725475edae289e8ee;hpb=756c392103bc01d409c1760146ac2df7dd8f8ede;p=elogind.git diff --git a/src/basic/copy.c b/src/basic/copy.c index cff446d9f..d807520a9 100644 --- a/src/basic/copy.c +++ b/src/basic/copy.c @@ -45,8 +45,7 @@ int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink) { assert(fdf >= 0); assert(fdt >= 0); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind /* Try btrfs reflinks first. */ if (try_reflink && max_bytes == (uint64_t) -1 && @@ -129,8 +128,7 @@ int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink) { return 0; /* return 0 if we hit EOF earlier than the size limit */ } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind static int fd_copy_symlink(int df, const char *from, const struct stat *st, int dt, const char *to) { _cleanup_free_ char *target = NULL; int r;