search for: 176,11

Displaying 20 results from an estimated 53 matches for "176,11".

Did you mean: 175,11
2011 Jun 08
1
[PATCH] Don't try to guess the nameserver in ipconfig.
...Ulrich Dangel <uli at spamt.net> --- usr/kinit/ipconfig/main.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c index 4833bb7..0fd35c1 100644 --- a/usr/kinit/ipconfig/main.c +++ b/usr/kinit/ipconfig/main.c @@ -176,11 +176,6 @@ static void postprocess_device(struct netdev *dev) printf("IP-Config: %s guessed broadcast address %s\n", dev->name, my_inet_ntoa(dev->ip_broadcast)); } - if (dev->ip_nameserver[0] == INADDR_ANY) { - dev->ip_nameserver[0] = dev->ip_server; - pr...
2013 Apr 18
1
[PATCH] xen/arm: introduce xen_early_init, use PSCI on xen
...lighten.c @@ -11,6 +11,8 @@ #include <xen/xenbus.h> #include <xen/page.h> #include <xen/xen-ops.h> +#include <asm/mach/arch.h> +#include <asm/psci.h> #include <asm/xen/hypervisor.h> #include <asm/xen/hypercall.h> #include <linux/interrupt.h> @@ -176,11 +178,36 @@ static int __init xen_secondary_init(unsigned int cpu) return 0; } +static bool __init xen_smp_init(void) +{ +#ifdef CONFIG_SMP + /* If we are running on Xen, use PSCI if available. + * In any case do not try to use the native smp_ops. */ + if (psci_smp_available()) + smp_set_o...
2006 Jan 27
0
[PATCH] fentonups patch to make it work with some powercom ups's
...ups.c 2006-01-27 14:20:07.000000000 +0200 @@ -18,6 +18,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <sys/ioctl.h> +#include <sys/types.h> +#include <sys/termios.h> #include "main.h" #include "serial.h" @@ -176,11 +179,27 @@ static char *get_id(void) return NULL; } +static void set_powercom_lines (void) +{ +// straced from powercom's upsmon +//ioctl(4, TIOCMSET, [TIOCM_DTR|0x4000]) = 0 + + int dtr_bit = TIOCM_DTR|0x4000; + ioctl(upsfd, TIOCMSET, &dtr_bit); +} + void upsdrv_initinfo(void) {...
2002 May 13
1
rsync 2.5.5 and the exclude directive - additional behavior
And, I've found more. It turns out that even though the exclude directive is ignored for inbound data in rsyncd.conf, it is NOT ignored for the --delete option. I've seen this behavior occur when I've deleted a file from the sending side (client) that is inside a tree that's matched by the server-side (rsyncd) exclude directive. The deletion is ignored, as the documenation
2011 Aug 23
0
[PATCH] Btrfs: fix an oops when deleting snapshots
...igned-off-by: Liu Bo <liubo2009@cn.fujitsu.com> --- fs/btrfs/btrfs_inode.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 502b9e9..d9f99a1 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h @@ -176,7 +176,11 @@ static inline u64 btrfs_ino(struct inode *inode) { u64 ino = BTRFS_I(inode)->location.objectid; - if (ino <= BTRFS_FIRST_FREE_OBJECTID) + /* + * !ino: btree_inode + * type == BTRFS_ROOT_ITEM_KEY: subvol dir + */ + if (!ino || BTRFS_I(inode)->location.type == BTRFS_ROOT...
2019 Apr 24
0
[nbdkit PATCH 2/4] truncate: Factor out reading real_size under mutex
...lock (&lock); + ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&lock); real_size = size = r; @@ -163,8 +170,6 @@ truncate_get_size (struct nbdkit_next_ops *next_ops, void *nxdata, size = ROUND_DOWN (size, round_down); ret = size; - pthread_mutex_unlock (&lock); - return ret; } @@ -176,11 +181,7 @@ truncate_pread (struct nbdkit_next_ops *next_ops, void *nxdata, { int r; uint32_t n; - uint64_t real_size_copy; - - pthread_mutex_lock (&lock); - real_size_copy = real_size; - pthread_mutex_unlock (&lock); + uint64_t real_size_copy = get_real_size (); if (offset...
2017 Apr 10
0
[PATCH 02/11] nvkm/ramgf100: Calculate timings
...5); + + nvkm_debug(subdev, "Entry: 290: %08x %08x %08x %08x\n", + timing[0], timing[1], timing[2], timing[3]); + nvkm_debug(subdev, " 2a0: %08x\n", + timing[4]); + return 0; +} +#undef T + static void gf100_ram_train(struct gf100_ramfuc *fuc, u32 magic) { @@ -136,10 +176,11 @@ gf100_ram_calc(struct nvkm_ram *base, u32 freq) struct nvkm_ram_data *next; u8 ver, hdr, cnt, len, strap; u32 data; + u32 timing[5]; int ref, div, out; int from, mode; int N1, M1, P; - int ret; + int i, ret; next = &ram->base.target; next->freq = freq; @@ -179,6 +...
2017 Jan 03
0
[PATCH 4/5] mllib: add libosinfo DB reading helpers
...\ getopt.mli \ JSON.mli \ mkdtemp.mli \ + osinfo.mli \ planner.mli \ progress.mli \ regedit.mli \ @@ -71,7 +72,9 @@ SOURCES_ML = \ exit.ml \ checksums.ml \ xml.ml \ - xpath_helpers.ml + xpath_helpers.ml \ + osinfopath.ml \ + osinfo.ml SOURCES_C = \ ../cat/visit.c \ @@ -173,6 +176,11 @@ libdir.ml: Makefile echo 'let libdir = "$(libdir)"' > $@-t mv $@-t $@ +osinfopath.ml: Makefile + echo 'let osinfopath = "$(datadir)/libosinfo/db"' > $@-t + mv $@-t $@ + + # Tests. common_utils_tests_SOURCES = dummy.c diff --git a/mllib/osinf...
2023 Jun 20
1
[libnbd PATCH v4 4/4] internal: Refactor layout of replies in sbuf
...msglen > sizeof h->sbuf.reply.payload.error.msg) > goto resync; > > - h->rbuf = h->sbuf.sr.payload.error.msg; > + h->rbuf = h->sbuf.reply.payload.error.msg; > h->rlen = msglen; > SET_NEXT_STATE (%RECV_ERROR_MESSAGE); > } > @@ -176,11 +176,11 @@ REPLY.CHUNK_REPLY.RECV_ERROR: > > resync: > /* Favor the error packet's errno over RESYNC's EPROTO. */ > - error = be32toh (h->sbuf.sr.payload.error.error.error); > + error = be32toh (h->sbuf.reply.payload.error.error.error); > if (cmd->e...
2015 Jul 01
0
Re: [PATCH 1/2] mllib: add and use last_part_of
...39;error' actually, but the bug already exists :-( > if g#is_file ~followsymlinks:true "/sbin/dracut" then ( > (* Dracut. *) > diff --git a/v2v/utils.ml b/v2v/utils.ml > index 2aeba45..976fe85 100644 > --- a/v2v/utils.ml > +++ b/v2v/utils.ml > @@ -176,9 +176,11 @@ let find_virtio_win_drivers virtio_win = > let paths = List.filter (g#is_file ~followsymlinks:false) paths in > List.map ( > fun path -> > - let i = String.rindex path '/' in > - let len = String.length path i...
2015 Jul 01
4
[PATCH 1/2] mllib: add and use last_part_of
...| None -> invalid_arg (sprintf "invalid module path: %s" modpath) in if g#is_file ~followsymlinks:true "/sbin/dracut" then ( (* Dracut. *) diff --git a/v2v/utils.ml b/v2v/utils.ml index 2aeba45..976fe85 100644 --- a/v2v/utils.ml +++ b/v2v/utils.ml @@ -176,9 +176,11 @@ let find_virtio_win_drivers virtio_win = let paths = List.filter (g#is_file ~followsymlinks:false) paths in List.map ( fun path -> - let i = String.rindex path '/' in - let len = String.length path in - let basena...
2018 Feb 06
1
[PATCH v2] daemon: build also without Hivex.OPEN_UNSAFE (RHBZ#1493048)
...e Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + *) + +val hivex_flag_unsafe : Hivex.open_flag option diff --git a/daemon/inspect_utils.ml b/daemon/inspect_utils.ml index 5127bf30f..b94c98cd1 100644 --- a/daemon/inspect_utils.ml +++ b/daemon/inspect_utils.ml @@ -176,7 +176,11 @@ let parse_version_from_major_minor str data = ) let with_hive hive_filename f = - let flags = [ Hivex.OPEN_UNSAFE ] in + let flags = [] in + let flags = + match Daemon_config.hivex_flag_unsafe with + | None -> flags + | Some f -> f :: flags in let flags = if...
2002 Mar 08
1
Problems with Solaris 8 and OpenSSH 3.1p1
When compiling the software it breaks with an error on the cipher.c file. Lot's of warnings and error of undeclared stuff. Snippet follows: gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -I/usr/local/ssl/include -Iyes -I/usr/local/include -DSSHDIR=\"/etc\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
2015 Mar 31
2
[PATCH] add generic callbacks into compaction
...erpart for a ballooned page */ -bool balloon_page_isolate(struct page *page) +int balloon_page_isolate(struct page *page) { + if (!balloon_page_movable(page)) + return false; + /* * Avoid burning cycles with pages that are yet under __free_pages(), * or just got freed under us. @@ -173,8 +176,11 @@ bool balloon_page_isolate(struct page *page) } /* putback_lru_page() counterpart for a ballooned page */ -void balloon_page_putback(struct page *page) +int balloon_page_putback(struct page *page) { + if (!isolated_balloon_page(page)) + return 0; + /* * 'lock_page()' stabili...
2015 Mar 31
2
[PATCH] add generic callbacks into compaction
...erpart for a ballooned page */ -bool balloon_page_isolate(struct page *page) +int balloon_page_isolate(struct page *page) { + if (!balloon_page_movable(page)) + return false; + /* * Avoid burning cycles with pages that are yet under __free_pages(), * or just got freed under us. @@ -173,8 +176,11 @@ bool balloon_page_isolate(struct page *page) } /* putback_lru_page() counterpart for a ballooned page */ -void balloon_page_putback(struct page *page) +int balloon_page_putback(struct page *page) { + if (!isolated_balloon_page(page)) + return 0; + /* * 'lock_page()' stabili...
2020 Sep 26
1
[PATCH nbdinfo proposal] info: Add a --map option for displaying allocation metadata
This is a rough-and-ready implementation of nbdinfo --map option, to display the allocation and other metadata of NBD exports. I only tested it lightly against nbdkit. It needs at least some tests. Command like these should work: nbdinfo --map nbd://localhost nbdinfo --map=qemu:dirty-bitmap nbd://localhost Rich.
2013 Nov 12
16
[PATCH] hvmloader: write extra memory in CMOS
...m = (extra_mem > 0x100000) ? + (((extra_mem - 0x100000) << PAGE_SHIFT) >> 16) : 0; + /* All BIOSes: conventional memory (CMOS *always* reports 640kB). */ cmos_outb(0x15, (uint8_t)(base_mem >> 0)); cmos_outb(0x16, (uint8_t)(base_mem >> 8)); @@ -166,6 +176,11 @@ static void cmos_write_memory_size(void) /* Some BIOSes: alternative extended memory (64kB chunks above 16MB). */ cmos_outb(0x34, (uint8_t)( alt_mem >> 0)); cmos_outb(0x35, (uint8_t)( alt_mem >> 8)); + + /* Some BIOSes: extra memory (64kB chunks above 4GB) */ +...
2020 Sep 07
0
[libnbd PATCH 2/2] generator: Free closures on failure
...-1) return -1; + assert (CALLBACK_IS_NULL (*chunk)); return wait_for_command (h, cookie); } @@ -163,6 +164,7 @@ nbd_unlocked_block_status (struct nbd_handle *h, if (cookie == -1) return -1; + assert (CALLBACK_IS_NULL (*extent)); return wait_for_command (h, cookie); } @@ -176,11 +178,11 @@ nbd_internal_command_common (struct nbd_handle *h, if (h->disconnect_request) { set_error (EINVAL, "cannot request more commands after NBD_CMD_DISC"); - return -1; + goto err;; } if (h->in_flight == INT_MAX) { set_error (ENOMEM, "...
2015 Apr 07
0
[PATCH] add generic callbacks into compaction
...page_isolate(struct page *page) > +int balloon_page_isolate(struct page *page) > { > + if (!balloon_page_movable(page)) > + return false; > + > /* > * Avoid burning cycles with pages that are yet under __free_pages(), > * or just got freed under us. > @@ -173,8 +176,11 @@ bool balloon_page_isolate(struct page *page) > } > > /* putback_lru_page() counterpart for a ballooned page */ > -void balloon_page_putback(struct page *page) > +int balloon_page_putback(struct page *page) > { > + if (!isolated_balloon_page(page)) > + return 0; &...
2020 Sep 26
0
[PATCH nbdinfo v2] info: Add a --map option for displaying allocation metadata.
...t, NULL, 'V' }, @@ -143,6 +151,10 @@ main (int argc, char *argv[]) no_content_flag = true; break; + case MAP_OPTION: + map = optarg ? optarg : "base:allocation"; + break; + case SIZE_OPTION: size_only = true; break; @@ -164,10 +176,11 @@ main (int argc, char *argv[]) if (argc - optind != 1) usage (stderr, EXIT_FAILURE); - /* You can combine certain options. */ - if (list_all && size_only) { - fprintf (stderr, "%s: you cannot use %s and %s together.\n", - argv[0], "--list"...